From 0775e0c9f094bcba05284bc73b336151cf6a9e51 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 4 Jan 2023 08:59:55 +0330 Subject: update --- terminaldweller.com/privatebin/docker-compose.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 terminaldweller.com/privatebin/docker-compose.yaml (limited to 'terminaldweller.com/privatebin/docker-compose.yaml') 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: -- cgit v1.2.3