Adding restart always to docker.
This commit is contained in:
parent
e6192e4562
commit
4ac00fea8a
2 changed files with 2 additions and 0 deletions
1
docker/dev/docker-compose.yml
vendored
1
docker/dev/docker-compose.yml
vendored
|
@ -20,6 +20,7 @@ services:
|
|||
- DATABASE_URL=${DATABASE_URL}
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
- HOSTNAME=${DOMAIN}
|
||||
restart: always
|
||||
depends_on:
|
||||
- lemmy_db
|
||||
lemmy_pictshare:
|
||||
|
|
1
docker/prod/docker-compose.yml
vendored
1
docker/prod/docker-compose.yml
vendored
|
@ -18,6 +18,7 @@ services:
|
|||
- DATABASE_URL=${DATABASE_URL}
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
- HOSTNAME=${DOMAIN}
|
||||
restart: always
|
||||
depends_on:
|
||||
- lemmy_db
|
||||
lemmy_pictshare:
|
||||
|
|
Reference in a new issue