always restart in prod

This commit is contained in:
Andras Bacsai 2023-05-08 09:24:17 +02:00
parent 5ed91c05bf
commit e6726b0690

View File

@ -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