diff options
author | terminaldweller <thabogre@gmail.com> | 2022-11-24 09:19:33 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-11-24 09:19:33 +0000 |
commit | 8009a9ab9777d3a49f5ea9067b8aa14279196da1 (patch) | |
tree | 21a9aadf3de23af80371645517a79f14c6788134 /terminaldweller.com/browsh/docker-compose.yaml | |
parent | update (diff) | |
download | scripts-8009a9ab9777d3a49f5ea9067b8aa14279196da1.tar.gz scripts-8009a9ab9777d3a49f5ea9067b8aa14279196da1.zip |
update
Diffstat (limited to 'terminaldweller.com/browsh/docker-compose.yaml')
-rw-r--r-- | terminaldweller.com/browsh/docker-compose.yaml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/terminaldweller.com/browsh/docker-compose.yaml b/terminaldweller.com/browsh/docker-compose.yaml index 4778988..992887e 100644 --- a/terminaldweller.com/browsh/docker-compose.yaml +++ b/terminaldweller.com/browsh/docker-compose.yaml @@ -5,9 +5,29 @@ services: networks: - browshnet ports: - - "4333:4333" + - "127.0.0.1:2333:4333" restart: unless-stopped entrypoint: "/app/bin/browsh" command: ["--http-server-mode"] + depends_on: + - nginx + nginx: + image: nginx:stable + ports: + - "4333:443" + networks: + - browshnet + 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/browsh.terminaldweller.com/:/certs/:ro networks: browshnet: |