aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/privatebin/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-04 05:29:55 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-04 05:29:55 +0000
commit0775e0c9f094bcba05284bc73b336151cf6a9e51 (patch)
treeaeefb0fe6f79a394d8f4c8b2683b328f0dcad38c /terminaldweller.com/privatebin/docker-compose.yaml
parentupdate (diff)
downloadscripts-0775e0c9f094bcba05284bc73b336151cf6a9e51.tar.gz
scripts-0775e0c9f094bcba05284bc73b336151cf6a9e51.zip
update
Diffstat (limited to '')
-rw-r--r--terminaldweller.com/privatebin/docker-compose.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/terminaldweller.com/privatebin/docker-compose.yaml b/terminaldweller.com/privatebin/docker-compose.yaml
new file mode 100644
index 0000000..c6f97e3
--- /dev/null
+++ b/terminaldweller.com/privatebin/docker-compose.yaml
@@ -0,0 +1,38 @@
+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/archive/pastebin.terminaldweller.com/:/certs/:ro
+networks:
+ privatebinnet:
+volumes:
+ privatebin-vault: