Docker, Docker-AIO: private registry, data volumes set from .env
Images now default to the registry 10.2.1.10:5500/admin instead of ghcr.io/dariuszjaniak, in the compose files, the .env examples and the READMEs. Each data volume's source comes from .env: WARP_DATA_VOLUME, WARP_POSTGRES_VOLUME, SEAWEED_DATA_VOLUME and SEAWEED_ADMIN_VOLUME. Empty keeps the named volume; a host path bind-mounts that directory, which must be writable by UID 10001 where the homeserver or the AIO container uses it. Each .env example lists the ones its compose file mounts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
66e48712c7
commit
0994156705
50 files changed
+264
-92
No files matched your search
@@ -26,7 +26,7 @@ services:
|
||||
# C sorts by byte, which is what room and event IDs are compared by.
|
||||
POSTGRES_INITDB_ARGS: --encoding=UTF8 --lc-collate=C --lc-ctype=C
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
- ${WARP_POSTGRES_VOLUME:-postgres-data}:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U warp -d warp"]
|
||||
interval: 5s
|
||||
@@ -52,7 +52,7 @@ services:
|
||||
WARP_DB_DRIVER: postgres
|
||||
WARP_DB_CONNECTION_STRING: postgres://warp:${WARP_POSTGRES_PASSWORD:-warp}@postgres:5432/warp?sslmode=disable
|
||||
volumes:
|
||||
- warp-data:/data
|
||||
- ${WARP_DATA_VOLUME:-warp-data}:/data
|
||||
ports:
|
||||
- "${WARP_PORT:-8008}:8008"
|
||||
|
||||
|
||||
Reference in new issue
Block a user