--- services: install_site: build: install_site environment: - BASE_URL - EMAIL volumes: - ./nginx.conf:/web/qbittorrent.conf - sites:/sites/ - certs:/etc/letsencrypt/ - certbotroot:/var/www/certbot/ - /var/run/docker.sock:/var/run/docker.sock qbittorrent: image: docker.io/qbittorrentofficial/qbittorrent-nox:latest restart: unless-stopped environment: - QBT_EULA=accept - QBT_DOWNLOADS_PATH=/data/torrents/ volumes: - $MEDIA_PATH/torrents/:/data/torrents/ - config:/config networks: - nginx volumes: sites: external: true certs: external: true certbotroot: external: true config: networks: nginx: external: true