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' version: '3.8'
services: services:
coolify: coolify:
working_dir: /var/www/html restart: always
extra_hosts: working_dir: /var/www/html
- 'host.docker.internal:host-gateway' extra_hosts:
networks: - 'host.docker.internal:host-gateway'
- coolify networks:
depends_on: - coolify
- postgres depends_on:
- postgres
postgres: postgres:
image: postgres:15-alpine image: postgres:15-alpine
networks: restart: always
- coolify networks:
- coolify
networks: networks:
coolify: coolify:
driver: bridge driver: bridge