version: "3" services: app: build: args: user: debian uid: 1000 context: ./ dockerfile: Dockerfile image: tracker container_name: tracker-app restart: unless-stopped working_dir: /var/www/ volumes: - ./:/var/www networks: - tracker webserver: image: nginx container_name: tracker-webserver restart: unless-stopped expose: - 80 - 443 ports: - "8000:80" environment: VIRTUAL_HOST: track.bengoldsworthy.net LETSENCRYPT_HOST: track.bengoldsworthy.net volumes: - ./:/var/www - ./docker-compose/nginx:/etc/nginx/conf.d networks: - tracker - default networks: default: external: name: nginx-proxy tracker: driver: bridge