version: "3.9" services: httpaste: build: context: ../.. dockerfile: Dockerfile target: uwsgi environment: HTTPASTE_CONFIGPATH: /usr/local/httpaste/config.ini volumes: - type: volume source: system-shared target: /shared volume: nocopy: true - ./httpaste/usr/local/httpaste/config.ini:/usr/local/httpaste/config.ini command: -s /shared/uwsgi.sock --chmod-socket=666 httpd: build: context: ./httpd dockerfile: Dockerfile ports: - "80:80" - "443:443" volumes: - type: volume source: system-shared target: /shared volume: nocopy: true - type: volume source: webroot target: /var/www volume: nocopy: true - ./httpd/usr/local/apache2/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf - type: volume source: letsencrypt target: /usr/local/apache2/ssl volume: nocopy: true tor: build: context: ./tor dockerfile: Dockerfile volumes: - ./tor/etc/tor/torrc:/etc/tor/torrc certbot: build: context: ./certbot dockerfile: Dockerfile depends_on: - httpd profiles: - certbot volumes: - type: volume source: webroot target: /var/www volume: nocopy: true - type: volume source: letsencrypt target: /etc/letsencrypt/live volume: nocopy: true command: > certonly -d httpaste.it -m 43oijg@23fi5dlkw.23d080rla94we2beocz4.xyz -w /var/www --agree-tos --webroot --no-eff-email --non-interactive --cert-name httpaste.it --reinstall volumes: system-shared: webroot: letsencrypt: