43 lines
877 B
YAML
43 lines
877 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
|
|
env_file:
|
|
- config/front/.env
|
|
networks:
|
|
- appnet
|
|
restart: unless-stopped
|
|
nginx:
|
|
image: nginx:latest
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
depends_on:
|
|
- back
|
|
- front
|
|
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: |