mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 00:24:37 +08:00
Update docker-compose.nodns.yml
This commit is contained in:
parent
cf893a476d
commit
d1e4d3d046
1 changed files with 4 additions and 15 deletions
|
@ -22,9 +22,6 @@ services:
|
|||
depends_on:
|
||||
- mongodb
|
||||
image: gravitl/netmaker:v0.3
|
||||
ports:
|
||||
- "8081:8081"
|
||||
- "50051:50051"
|
||||
volumes:
|
||||
- ./:/local
|
||||
- /etc/netclient:/etc/netclient
|
||||
|
@ -39,6 +36,9 @@ services:
|
|||
- SYS_MODULE
|
||||
restart: always
|
||||
network_mode: host
|
||||
environment:
|
||||
CLIENT_MODE: "off"
|
||||
DNS_MODE: "off
|
||||
netmaker-ui:
|
||||
container_name: netmaker-ui
|
||||
depends_on:
|
||||
|
@ -49,18 +49,7 @@ services:
|
|||
ports:
|
||||
- "80:80"
|
||||
environment:
|
||||
BACKEND_URL: "http://3.236.149.180:8081"
|
||||
coredns:
|
||||
depends_on:
|
||||
- netmaker
|
||||
image: coredns/coredns
|
||||
command: -conf /root/dnsconfig/Corefile
|
||||
container_name: coredns
|
||||
restart: always
|
||||
ports:
|
||||
- "53:53/udp"
|
||||
volumes:
|
||||
- dnsconfig:/root/dnsconfig
|
||||
BACKEND_URL: "http://your-backend:8081"
|
||||
volumes:
|
||||
mongovol: {}
|
||||
dnsconfig: {}
|
||||
|
|
Loading…
Reference in a new issue