GoDoxy/compose.example.yml
2024-02-29 11:51:06 +08:00

14 lines
331 B
YAML
Executable file

version: '3'
services:
app:
build: .
container_name: go-proxy
ports:
- 80:80
- 443:443
volumes:
- /path/to/cert.pem:/certs/cert.crt:ro
- /path/to/privkey.pem:/certs/priv.key:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
extra_hosts:
- host.docker.internal:host-gateway