mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 20:05:46 +08:00
updating compose file
This commit is contained in:
parent
b950818d0d
commit
446dfc5495
1 changed files with 8 additions and 1 deletions
|
@ -5,12 +5,18 @@ services:
|
||||||
container_name: netmaker
|
container_name: netmaker
|
||||||
image: gravitl/netmaker:v0.8.5
|
image: gravitl/netmaker:v0.8.5
|
||||||
volumes:
|
volumes:
|
||||||
- dnsconfig:/root/config/dnsconfig
|
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
|
||||||
|
- /run/systemd/system:/run/systemd/system
|
||||||
|
- /etc/systemd/system:/etc/systemd/system
|
||||||
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||||
- /usr/bin/wg:/usr/bin/wg
|
- /usr/bin/wg:/usr/bin/wg
|
||||||
|
- dnsconfig:/root/config/dnsconfig
|
||||||
- sqldata:/root/data
|
- sqldata:/root/data
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
- SYS_ADMIN
|
||||||
restart: always
|
restart: always
|
||||||
|
network_mode: host
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
SERVER_HOST: "SERVER_PUBLIC_IP"
|
SERVER_HOST: "SERVER_PUBLIC_IP"
|
||||||
|
@ -28,6 +34,7 @@ services:
|
||||||
SERVER_GRPC_WIREGUARD: "off"
|
SERVER_GRPC_WIREGUARD: "off"
|
||||||
CORS_ALLOWED_ORIGIN: "*"
|
CORS_ALLOWED_ORIGIN: "*"
|
||||||
DATABASE: "sqlite"
|
DATABASE: "sqlite"
|
||||||
|
NODE_ID: "netmaker-server-1"
|
||||||
ports:
|
ports:
|
||||||
- "51821-51830:51821-51830/udp"
|
- "51821-51830:51821-51830/udp"
|
||||||
- "8081:8081"
|
- "8081:8081"
|
||||||
|
|
Loading…
Add table
Reference in a new issue