Skip to content

Commit

Permalink
add restart policy
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Feb 19, 2024
1 parent f3e4e31 commit d4433de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
- /home/dockerexec/.local/share/docker/certs/:/etc/ssl/certs
networks:
- getxo
restart: ${RESTART_POLICY:-always}
app:
build: .
volumes:
Expand Down Expand Up @@ -60,12 +61,14 @@ services:
- pg_data:/var/lib/postgresql/data
networks:
- getxo
restart: ${RESTART_POLICY:-always}
redis:
image: redis
volumes:
- redis_data:/data
networks:
- getxo
restart: ${RESTART_POLICY:-always}
volumes:
pg_data:
redis_data:
Expand Down

0 comments on commit d4433de

Please sign in to comment.