version: '3.3' networks: frontend: driver: bridge services: quarter_internal: build: context: .. dockerfile: docker/quarter_internal.Dockerfile container_name: quarter_internal restart: unless-stopped volumes: - ../app:/var/www/app - ../app_common:/var/www/app_common - ../log:/var/log/www networks: - frontend webserver: build: context: . dockerfile: nginx.Dockerfile image: digitalocean.com/webserver:latest container_name: nginx restart: unless-stopped ports: - "80:80" - "443:443" depends_on: - quarter_internal networks: - frontend