# A file server and nothing else: two static files, no application, no database. # It joins the autotrader stack's network so the nginx already on 80/443 can # proxy to it — this publishes no host port of its own. name: autofirmer-updates services: updates: image: nginx:alpine container_name: autofirmer-updates restart: unless-stopped volumes: - ${UPDATES_DIR:-/opt/autofirmer-updates}/public:/srv:ro - ./nginx/updates-static.conf:/etc/nginx/conf.d/default.conf:ro expose: - "80" networks: [web] networks: # Created by the autotrader stack. `external` so this compose file never tries # to own it — bringing this down must not take the ingress with it. web: name: ${SHARED_NETWORK:-autotrader-vps_web} external: true