Skip to content

Commit f461c1c

Browse files
authored
chore: fix bind volumes
1 parent 4b0648a commit f461c1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/firezone/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
# IMPORTANT: Persists WireGuard private key and other data. If
2727
# /var/firezone/private_key exists when Firezone starts, it is
2828
# used as the WireGuard private. Otherwise, one is generated.
29-
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firezone:/var/firezone
29+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firezone/data:/var/firezone
3030
cap_add:
3131
# Needed for WireGuard and firewall support.
3232
- NET_ADMIN
@@ -55,7 +55,7 @@ services:
5555
image: postgres:15
5656
container_name: firezone-db
5757
volumes:
58-
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/postgres-data:/var/lib/postgresql/data
58+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firezone/db:/var/lib/postgresql/data
5959
environment:
6060
POSTGRES_DB: ${DATABASE_NAME:-firezone}
6161
POSTGRES_USER: ${DATABASE_USER:-postgres}

0 commit comments

Comments
 (0)