Skip to content

Commit 2e71755

Browse files
committed
feat: change example docker-compose network_mode to host
A simpler example to get up and running
1 parent 1a81c64 commit 2e71755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
restart: unless-stopped
99
volumes:
1010
- /path/to/linuxgsm/{{ shortname }}server:/data
11-
ports:
11+
network_mode: host
1212

1313
# volume example
1414
linuxgsm-{{ shortname }}-volume:
@@ -18,7 +18,7 @@ services:
1818
restart: unless-stopped
1919
volumes:
2020
- linuxgsm-{{ shortname }}:/data
21-
ports:
21+
network_mode: host
2222

2323
volumes:
2424
linuxgsm-{{ shortname }}:

0 commit comments

Comments
 (0)