Skip to content

Commit 4b0648a

Browse files
authored
chore: adjust compose
1 parent 1edd542 commit 4b0648a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

examples/firezone/docker-compose.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ services:
2727
# /var/firezone/private_key exists when Firezone starts, it is
2828
# used as the WireGuard private. Otherwise, one is generated.
2929
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firezone:/var/firezone
30-
#labels:
31-
# - traefik.enable=true
32-
# - traefik.docker.network=dev
33-
# - traefik.http.routers.firezone_https.rule=Host(`firezone.example.com`)
34-
# - traefik.http.routers.firezone_https.tls=true
35-
# - traefik.http.services.firezone.loadbalancer.server.port=13000
36-
# #- traefik.http.routers.firezone.middlewares=local-ipwhitelist@file
3730
cap_add:
3831
# Needed for WireGuard and firewall support.
3932
- NET_ADMIN
@@ -45,8 +38,15 @@ services:
4538
- net.ipv6.conf.all.forwarding=1
4639
depends_on:
4740
- postgres
48-
networks:
49-
- dev
41+
#networks:
42+
# - proxy
43+
#labels:
44+
# - traefik.enable=true
45+
# - traefik.docker.network=proxy
46+
# - traefik.http.routers.firezone_https.rule=Host(`firezone.example.com`)
47+
# - traefik.http.routers.firezone_https.tls=true
48+
# - traefik.http.services.firezone.loadbalancer.server.port=13000
49+
# #- traefik.http.routers.firezone.middlewares=local-ipwhitelist@file
5050

5151
deploy:
5252
<<: *default-deploy
@@ -60,13 +60,13 @@ services:
6060
POSTGRES_DB: ${DATABASE_NAME:-firezone}
6161
POSTGRES_USER: ${DATABASE_USER:-postgres}
6262
POSTGRES_PASSWORD: ${DATABASE_PASSWORD:?err}
63-
networks:
64-
- dev
6563
deploy:
6664
<<: *default-deploy
6765
update_config:
6866
order: stop-first
67+
#networks:
68+
# - proxy
6969

70-
networks:
71-
dev:
72-
external: true
70+
#networks:
71+
# proxy:
72+
# external: true

0 commit comments

Comments
 (0)