diff options
author | terminaldweller <thabogre@gmail.com> | 2023-01-04 05:29:55 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-01-04 05:29:55 +0000 |
commit | 0775e0c9f094bcba05284bc73b336151cf6a9e51 (patch) | |
tree | aeefb0fe6f79a394d8f4c8b2683b328f0dcad38c /terminaldweller.com/privatebin/docker-compose.yaml | |
parent | update (diff) | |
download | scripts-0775e0c9f094bcba05284bc73b336151cf6a9e51.tar.gz scripts-0775e0c9f094bcba05284bc73b336151cf6a9e51.zip |
update
Diffstat (limited to '')
-rw-r--r-- | terminaldweller.com/privatebin/docker-compose.yaml | 38 |
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: |