mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-17 13:58:12 +00:00
chore: adjust compose
This commit is contained in:
parent
1edd542eea
commit
4b0648a1de
|
@ -27,13 +27,6 @@ services:
|
||||||
# /var/firezone/private_key exists when Firezone starts, it is
|
# /var/firezone/private_key exists when Firezone starts, it is
|
||||||
# used as the WireGuard private. Otherwise, one is generated.
|
# used as the WireGuard private. Otherwise, one is generated.
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firezone:/var/firezone
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firezone:/var/firezone
|
||||||
#labels:
|
|
||||||
# - traefik.enable=true
|
|
||||||
# - traefik.docker.network=dev
|
|
||||||
# - traefik.http.routers.firezone_https.rule=Host(`firezone.example.com`)
|
|
||||||
# - traefik.http.routers.firezone_https.tls=true
|
|
||||||
# - traefik.http.services.firezone.loadbalancer.server.port=13000
|
|
||||||
# #- traefik.http.routers.firezone.middlewares=local-ipwhitelist@file
|
|
||||||
cap_add:
|
cap_add:
|
||||||
# Needed for WireGuard and firewall support.
|
# Needed for WireGuard and firewall support.
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
@ -45,8 +38,15 @@ services:
|
||||||
- net.ipv6.conf.all.forwarding=1
|
- net.ipv6.conf.all.forwarding=1
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
networks:
|
#networks:
|
||||||
- dev
|
# - proxy
|
||||||
|
#labels:
|
||||||
|
# - traefik.enable=true
|
||||||
|
# - traefik.docker.network=proxy
|
||||||
|
# - traefik.http.routers.firezone_https.rule=Host(`firezone.example.com`)
|
||||||
|
# - traefik.http.routers.firezone_https.tls=true
|
||||||
|
# - traefik.http.services.firezone.loadbalancer.server.port=13000
|
||||||
|
# #- traefik.http.routers.firezone.middlewares=local-ipwhitelist@file
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
<<: *default-deploy
|
<<: *default-deploy
|
||||||
|
@ -60,13 +60,13 @@ services:
|
||||||
POSTGRES_DB: ${DATABASE_NAME:-firezone}
|
POSTGRES_DB: ${DATABASE_NAME:-firezone}
|
||||||
POSTGRES_USER: ${DATABASE_USER:-postgres}
|
POSTGRES_USER: ${DATABASE_USER:-postgres}
|
||||||
POSTGRES_PASSWORD: ${DATABASE_PASSWORD:?err}
|
POSTGRES_PASSWORD: ${DATABASE_PASSWORD:?err}
|
||||||
networks:
|
|
||||||
- dev
|
|
||||||
deploy:
|
deploy:
|
||||||
<<: *default-deploy
|
<<: *default-deploy
|
||||||
update_config:
|
update_config:
|
||||||
order: stop-first
|
order: stop-first
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
networks:
|
#networks:
|
||||||
dev:
|
# proxy:
|
||||||
external: true
|
# external: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user