Adding restart always to docker.
This commit is contained in:
parent
a5f3efa669
commit
d21e020f18
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}
|
- DATABASE_URL=${DATABASE_URL}
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
- HOSTNAME=${DOMAIN}
|
- HOSTNAME=${DOMAIN}
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- lemmy_db
|
- lemmy_db
|
||||||
lemmy_pictshare:
|
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}
|
- DATABASE_URL=${DATABASE_URL}
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
- HOSTNAME=${DOMAIN}
|
- HOSTNAME=${DOMAIN}
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- lemmy_db
|
- lemmy_db
|
||||||
lemmy_pictshare:
|
lemmy_pictshare:
|
||||||
|
|
Loading…
Reference in a new issue