mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
33 lines
843 B
YAML
33 lines
843 B
YAML
services:
|
|
caddy:
|
|
image: caddy:latest
|
|
container_name: caddy
|
|
ports:
|
|
- "443:443"
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile # your caddyfile
|
|
- ./cert:/etc/caddy/certs
|
|
depends_on:
|
|
- relay
|
|
networks:
|
|
- relay_network
|
|
restart: unless-stopped
|
|
|
|
relay:
|
|
#image: ghcr.io/nestrilabs/nestri/relay:nightly # Offical relay image
|
|
image: ghcr.io/datcaptainhorse/nestri-relay:latest # Most current relay image
|
|
container_name: relay
|
|
environment:
|
|
#- AUTO_ADD_LOCAL_IP=false # use with WEBRTC_NAT_IPS
|
|
#- WEBRTC_NAT_IPS=1.2.3.4 # Add the LAN IP of your container here if connections fail
|
|
- VERBOSE=true
|
|
- DEBUG=true
|
|
ports:
|
|
- "8088:8088/udp"
|
|
networks:
|
|
- relay_network
|
|
restart:
|
|
unless-stopped
|
|
networks:
|
|
relay_network:
|
|
driver: bridge |