mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-13 02:01:32 +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:
|
depends_on:
|
||||||
- mongodb
|
- mongodb
|
||||||
image: gravitl/netmaker:v0.3
|
image: gravitl/netmaker:v0.3
|
||||||
ports:
|
|
||||||
- "8081:8081"
|
|
||||||
- "50051:50051"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/local
|
- ./:/local
|
||||||
- /etc/netclient:/etc/netclient
|
- /etc/netclient:/etc/netclient
|
||||||
|
|
@ -39,6 +36,9 @@ services:
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
environment:
|
||||||
|
CLIENT_MODE: "off"
|
||||||
|
DNS_MODE: "off
|
||||||
netmaker-ui:
|
netmaker-ui:
|
||||||
container_name: netmaker-ui
|
container_name: netmaker-ui
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
@ -49,18 +49,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
environment:
|
environment:
|
||||||
BACKEND_URL: "http://3.236.149.180:8081"
|
BACKEND_URL: "http://your-backend: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
|
|
||||||
volumes:
|
volumes:
|
||||||
mongovol: {}
|
mongovol: {}
|
||||||
dnsconfig: {}
|
dnsconfig: {}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue