Quarter-Internal/docker/docker-compose.yaml

35 lines
670 B
YAML
Raw Normal View History

2025-03-24 01:42:30 +00:00
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