services: client: build: context: . # or . if you’re already inside `site/` dockerfile: Dockerfile # or whatever the file is called container_name: alliances-site restart: unless-stopped ports: - "3000:3000" environment: NODE_ENV: production volumes: - /var/run/docker.sock:/var/run/docker.sock cms: container_name: alliances-cms build: context: ./cms # or . if you’re already inside `site/` dockerfile: Dockerfile # or whatever the file is called image: alliances-cms ports: - "3001:1111" environment: - NODE_ENV=production - TOKEN_SECRET_KEY=${TOKEN_SECRET_KEY} - DB_PATH=${DB_PATH} env_file: .env volumes: - alliances_volume:/app/.manifest - /var/run/docker.sock:/var/run/docker.sock volumes: alliances_volume: