Skip to content

Commit 3d183f2

Browse files
fix: restart containers automatically
1 parent 5280011 commit 3d183f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ services:
3333
- SENTRY_DSN=${SENTRY_DSN}
3434
- SENTRY_CRON_MONITOR_ID_EN=${SENTRY_CRON_MONITOR_ID_EN}
3535
- SENTRY_CRON_MONITOR_ID_FR=${SENTRY_CRON_MONITOR_ID_FR}
36+
restart: unless-stopped
3637

3738
db:
3839
container_name: word-generator-db
@@ -45,6 +46,7 @@ services:
4546
- POSTGRES_DB=${POSTGRES_DB}
4647
- POSTGRES_USER=${POSTGRES_USER:-postgres}
4748
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}
49+
restart: unless-stopped
4850

4951
volumes:
5052
postgres_data:

0 commit comments

Comments
 (0)