Skip to content

Commit

Permalink
Specified AWS_REGION in deployment environment
Browse files Browse the repository at this point in the history
  • Loading branch information
kompotkot committed Sep 20, 2023
1 parent 5a0b0ef commit 82d0978
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/waggle.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ StartLimitBurst=3
[Service]
WorkingDirectory=/home/ubuntu/waggle
EnvironmentFile=/home/ubuntu/waggle-secrets/app.env
Environment=AWS_REGION="${AWS_REGION}"
Restart=on-failure
RestartSec=15s
ExecStart=/home/ubuntu/waggle/waggle server run --host "${AWS_LOCAL_IPV4}" --port 7379 --config /home/ubuntu/waggle-secrets/config.json
SyslogIdentifier=waggle

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

0 comments on commit 82d0978

Please sign in to comment.