Files
Crm-Monorepo/docker-compose.yml

44 lines
892 B
YAML

services:
back:
image: git.logidex.ru/fakz9/crm-backend:latest
volumes:
- type: volume
source: app_run
target: /app/run
read_only: false
env_file:
- config/back/.env
restart: unless-stopped
front:
image: git.logidex.ru/fakz9/crm-frontend:latest
depends_on:
- back
env_file:
- config/front/.env
networks:
- appnet
restart: unless-stopped
nginx:
image: nginx:latest
ports:
- "80:80"
- "443:443"
depends_on:
- back
volumes:
- type: bind
source: ./config/nginx/nginx.conf
target: /etc/nginx/conf.d/default.conf
read_only: true
- type: volume
source: app_run
target: /app/run
read_only: false
restart: unless-stopped
networks:
- appnet
volumes:
app_run:
driver: local
networks:
appnet: