Skip to content

Commit a559fac

Browse files
committed
Use "restart: always" in Docker templates
1 parent 6955e5a commit a559fac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/templates/deploy/docker-split/compose.yaml.gerb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ x-defaults: &defaults
2222
- RODBOT_RELAY_URL_[%= name.upcase %]=tcp://relay-[%= name %]
2323
[% end -%]
2424
- PRODUCTION_CREDENTIALS_KEY
25-
restart: "unless-stopped"
25+
restart: "always"
2626

2727
services:
2828
app:

lib/templates/deploy/docker/compose.yaml.gerb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ x-defaults: &defaults
1717
environment:
1818
- RODBOT_APP_HOST=0.0.0.0
1919
- PRODUCTION_CREDENTIALS_KEY
20-
restart: "unless-stopped"
20+
restart: "always"
2121

2222
services:
2323
rodbot:

0 commit comments

Comments
 (0)