--- services: install_site: build: install_site environment: - BASE_URL - EMAIL volumes: - ./nginx.conf:/web/readarr.conf - sites:/sites/ - certs:/etc/letsencrypt/ - certbotroot:/var/www/certbot/ - /var/run/docker.sock:/var/run/docker.sock readarr: build: . restart: unless-stopped environment: - PUID - PGID volumes: - config:/config/ - $MEDIA_PATH:/data/ networks: - nginx volumes: sites: external: true certs: external: true certbotroot: external: true config: networks: nginx: external: true