Skip to content

Commit

Permalink
Merge pull request #399 from wearepal/docker-restart-policy
Browse files Browse the repository at this point in the history
Add restart policy to Docker services
  • Loading branch information
paulthatjazz authored Jul 22, 2024
2 parents 84c786b + 0d4c4d9 commit 751de52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ services:
- caddy_traefik
- caddy_astute
- default
restart: always

db:
image: postgres:14
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- postgres:/var/lib/postgresql/data
restart: always

geoserver:
image: docker.osgeo.org/geoserver:2.21.2
Expand All @@ -35,6 +37,7 @@ services:
- EXTRA_JAVA_OPTS=-Xmx10g
volumes:
- geoserver:/opt/geoserver_data
restart: always

queue:
image: redis:7
Expand Down Expand Up @@ -62,6 +65,7 @@ services:
- secret_key_base
volumes:
- storage:/app/storage
restart: always

worker:
image: "wearepal/landscapes:${VERSION}"
Expand All @@ -75,6 +79,7 @@ services:
- secret_key_base
volumes:
- storage:/app/storage
restart: always

configs:
caddyfile:
Expand Down

0 comments on commit 751de52

Please sign in to comment.