# The dashboard, alongside the autotrader stack rather than instead of it: the # droplet already runs one nginx on 80/443, and this joins that network so the # same ingress can proxy to it. Nothing here publishes a host port. name: autofirmer services: autofirmer: build: context: .. dockerfile: Dockerfile image: autofirmer:local container_name: autofirmer restart: unless-stopped environment: AUTOFIRMER_DB: /data/autotrader.sqlite volumes: - autofirmer-data:/data expose: - "3000" networks: [web] networks: # Created by the autotrader stack. `external` so this compose file never tries # to own it — bringing this stack down must not take the ingress with it. web: name: ${SHARED_NETWORK:-autotrader-vps_web} external: true volumes: autofirmer-data: