mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 00:24:37 +08:00
Merge pull request #452 from gravitl/hotfix_v0.8.5_contained_compose
Update docker-compose.contained.yml
This commit is contained in:
commit
317a639bf5
1 changed files with 14 additions and 0 deletions
|
@ -28,6 +28,7 @@ services:
|
|||
SERVER_GRPC_WIREGUARD: "off"
|
||||
CORS_ALLOWED_ORIGIN: "*"
|
||||
DATABASE: "sqlite"
|
||||
NODE_ID: "netmaker-server-1"
|
||||
ports:
|
||||
- "51821-51830:51821-51830/udp"
|
||||
- "8081:8081"
|
||||
|
@ -56,6 +57,19 @@ services:
|
|||
- "COREDNS_IP:53:53/tcp"
|
||||
volumes:
|
||||
- dnsconfig:/root/dnsconfig
|
||||
caddy:
|
||||
image: caddy:latest
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
network_mode: host # Wants ports 80 and 443!
|
||||
volumes:
|
||||
- /root/Caddyfile:/etc/caddy/Caddyfile
|
||||
# - $PWD/site:/srv # you could also serve a static site in site folder
|
||||
- caddy_data:/data
|
||||
- caddy_conf:/config
|
||||
volumes:
|
||||
caddy_data: {}
|
||||
caddy_conf: {}
|
||||
sqldata: {}
|
||||
dnsconfig: {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue