Skip to content

Commit a042f3d

Browse files
authored
Merge pull request #433 from gravitl/develop
updating compose file
2 parents 3882bc9 + 446dfc5 commit a042f3d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

compose/docker-compose.caddy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ services:
55
container_name: netmaker
66
image: gravitl/netmaker:v0.8.5
77
volumes:
8-
- dnsconfig:/root/config/dnsconfig
8+
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
9+
- /run/systemd/system:/run/systemd/system
10+
- /etc/systemd/system:/etc/systemd/system
11+
- /sys/fs/cgroup:/sys/fs/cgroup
912
- /usr/bin/wg:/usr/bin/wg
13+
- dnsconfig:/root/config/dnsconfig
1014
- sqldata:/root/data
1115
cap_add:
1216
- NET_ADMIN
17+
- SYS_ADMIN
1318
restart: always
19+
network_mode: host
1420
privileged: true
1521
environment:
1622
SERVER_HOST: "SERVER_PUBLIC_IP"
@@ -28,6 +34,7 @@ services:
2834
SERVER_GRPC_WIREGUARD: "off"
2935
CORS_ALLOWED_ORIGIN: "*"
3036
DATABASE: "sqlite"
37+
NODE_ID: "netmaker-server-1"
3138
ports:
3239
- "51821-51830:51821-51830/udp"
3340
- "8081:8081"

0 commit comments

Comments
 (0)