aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/browsh/docker-compose.yaml
blob: 992887e2b3075fd42d0570a0b88af48989985a87 (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
version: "3"
services:
  browsh:
    image: browsh/browsh:v1.8.0
    networks:
      - browshnet
    ports:
      - "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: