version: '3.8' services: web: image: nginx:alpine ports: - "8888:80" restart: unless-stopped volumes: - ./default.conf:/etc/nginx/conf.d/default.conf:ro depends_on: - backend backend: build: context: . dockerfile: backend/Dockerfile ports: - "8000:8000" environment: - RUNTIME_BASE_URL=http://runtime:8001 volumes: - ./backend:/app/backend:ro - ./common:/app/common:ro depends_on: - runtime runtime: build: context: . dockerfile: runtime/Dockerfile ports: - "8001:8001" environment: - PUBLIC_BASE_URL=http://runtime volumes: - ./runtime:/app/runtime:ro - ./common:/app/common:ro