nostream/docker-compose.local.yml
Kevin Smith e95d449b23 feat: add local dev configuration
Includes a reverse-proxy and locally-trusted TLS certs via mkcert, and uses a hostname that already points to 127.0.0.1 without having to modify the hosts file
2022-12-30 16:33:15 -05:00

24 lines
470 B
YAML

services:
relay:
volumes:
- ${PWD}/.nostr.local:/home/node/
caddy:
image: caddy:2.6.2-alpine
container_name: caddy
ports:
- 80:80
- 443:443
volumes:
- ${PWD}/Caddyfile.local:/etc/caddy/Caddyfile
- ${PWD}/.nostr.local/certs:/root/certs/
- caddydata:/data
- caddyconfig:/config
restart: unless-stopped
networks:
default:
ipv4_address: 10.10.10.5
volumes:
caddyconfig:
caddydata: