Skip to content

Commit

Permalink
always restart in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed May 8, 2023
1 parent 5ed91c0 commit e6726b0
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
version: '3.8'
services:
coolify:
working_dir: /var/www/html
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
- coolify
depends_on:
- postgres
coolify:
restart: always
working_dir: /var/www/html
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
- coolify
depends_on:
- postgres

postgres:
image: postgres:15-alpine
networks:
- coolify
postgres:
image: postgres:15-alpine
restart: always
networks:
- coolify
networks:
coolify:
driver: bridge
coolify:
driver: bridge

0 comments on commit e6726b0

Please sign in to comment.