Skip to content

Docker Compose Deployment

Snawoot edited this page Feb 12, 2024 · 1 revision

Compose file compose.yaml:

version: '3'

services:
  dumbproxy:
    container_name: dumbproxy
    image: ghcr.io/senseunit/dumbproxy:latest-alpine
    ports:
      - "443:443"
    command:
      - "-bind-address=:443"
      - "-auth=basicfile://?path=/etc/dumbproxy.htpasswd"
      - "-autocert"
    volumes:
      - ./dumbproxy.htpasswd:/etc/dumbproxy.htpasswd:rw
      - ./dumbproxy:/.dumbproxy

Make sure mounted directories are writable by dumbproxy user inside container.

In order to add user, exec into container and run dumbproxy -passwd /etc/dumbproxy.htpasswd LOGIN PASSWORD.