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:alpine-slim 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 - type: bind source: ./certbot/www target: /var/www/certbot read_only: true restart: unless-stopped networks: - appnet certbot: image: certbot/certbot:latest volumes: - type: bind source: ./certbot/www target: /var/www/certbot read_only: false - type: bind source: ./certbot/conf target: /etc/letsencrypt read_only: false volumes: app_run: driver: local networks: appnet: