2 Commits

Author SHA1 Message Date
c5f92c9411 Move pocket Id data dir 2026-01-03 07:26:35 +00:00
0b354d937a expose audiomuse db 2026-01-03 07:26:35 +00:00
3 changed files with 7 additions and 6 deletions

View File

@@ -21,8 +21,8 @@ services:
POSTGRES_USER: ${AUDIOMUSE_POSTGRES_USER}
POSTGRES_PASSWORD: ${AUDIOMUSE_POSTGRES_PASSWORD}
POSTGRES_DB: ${AUDIOMUSE_POSTGRES_DB}
# ports:
# - "5432:5432" # Expose PostgreSQL port to the host
ports:
- "5435:5432" # Expose PostgreSQL port to the host
volumes:
- postgres-data:/var/lib/postgresql/data # Persistent storage for PostgreSQL data
networks:
@@ -123,4 +123,4 @@ volumes:
postgres-data:
networks:
audiomuse:
audiomuse:

View File

@@ -3,3 +3,5 @@ TRUST_PROXY=
MAXMIND_LICENSE_KEY=
PUID=
PGID=
POCKETID_DATA_DIR=

View File

@@ -6,12 +6,11 @@ services:
ports:
- "3043:1411"
volumes:
#TODO change this to a more appropriate location
- ./data:/app/data
- ${POCKETID_DATA_DIR}:/app/data
# Optional healthcheck
healthcheck:
test: "curl -f http://localhost:1411/healthz"
interval: 1m30s
timeout: 5s
retries: 2
start_period: 10s
start_period: 10s