version: "3.8" services: privatebin: image: privatebin/nginx-fpm-alpine:latest container_name: privatebin restart: unless-stopped environment: - DOMAIN_ROOT=${DOMAIN_ROOT} volumes: - privatebin_data:/srv/data - ./cfg/conf.php:/srv/cfg/conf.php:ro networks: - web volumes: privatebin_data: external: true