From f461c1c7d007e270309aea1bb4a9a230ba5acee8 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Sun, 18 Aug 2024 23:58:09 +0200 Subject: [PATCH] chore: fix bind volumes --- examples/firezone/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/firezone/docker-compose.yml b/examples/firezone/docker-compose.yml index e8c7ceb..598574b 100644 --- a/examples/firezone/docker-compose.yml +++ b/examples/firezone/docker-compose.yml @@ -26,7 +26,7 @@ services: # IMPORTANT: Persists WireGuard private key and other data. If # /var/firezone/private_key exists when Firezone starts, it is # 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/data:/var/firezone cap_add: # Needed for WireGuard and firewall support. - NET_ADMIN @@ -55,7 +55,7 @@ services: image: postgres:15 container_name: firezone-db volumes: - - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/postgres-data:/var/lib/postgresql/data + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firezone/db:/var/lib/postgresql/data environment: POSTGRES_DB: ${DATABASE_NAME:-firezone} POSTGRES_USER: ${DATABASE_USER:-postgres}