blob: 4e1d482169e4844555e5ca684f288cae597b8484 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
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:
|