blob: 4e1d482169e4844555e5ca684f288cae597b8484 (
plain) (
tree)
|
|
version: "3"
services:
privatebin:
image: privatebin/nginx-fpm-alpine:stable
networks:
- privatebinnet
ports:
- "127.0.0.1:3180:8080"
restart: unless-stopped
depends_on:
- nginx
volumes:
- ./conf.php:/srv/cfg/conf.php:ro
# - privatebin-vault:/srv/data
# cap_drop:
# - ALL
nginx:
image: nginx:stable
ports:
- "3010:443"
networks:
- privatebinnet
restart: unless-stopped
cap_drop:
- ALL
cap_add:
- CHOWN
- DAC_OVERRIDE
- SETGID
- SETUID
- NET_BIND_SERVICE
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- /etc/letsencrypt/live/pastebin.terminaldweller.com/fullchain.pem:/etc/letsencrypt/live/pastebin.terminaldweller.com/fullchain.pem:ro
- /etc/letsencrypt/live/pastebin.terminaldweller.com/privkey.pem:/etc/letsencrypt/live/pastebin.terminaldweller.com/privkey.pem:ro
networks:
privatebinnet:
volumes:
privatebin-vault:
|