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
@@ -14,7 +14,7 @@
|
||||
# docker compose -f docker-compose.sqlite.prod.yml exec warp warp create-account --username admin --admin
|
||||
#
|
||||
# Nothing is built here: the images come from WARP_REGISTRY (default
|
||||
# ghcr.io/dariuszjaniak) at tag WARP_VERSION (default latest). Pin
|
||||
# 10.2.1.10:5500/admin) at tag WARP_VERSION (default latest). Pin
|
||||
# WARP_VERSION to a release in production, and update with
|
||||
#
|
||||
# docker compose -f docker-compose.sqlite.prod.yml pull && docker compose -f docker-compose.sqlite.prod.yml up -d
|
||||
@@ -23,7 +23,7 @@ name: warp-sqlite
|
||||
|
||||
services:
|
||||
warp:
|
||||
image: ${WARP_REGISTRY:-ghcr.io/dariuszjaniak}/warp:${WARP_VERSION:-latest}
|
||||
image: ${WARP_REGISTRY:-10.2.1.10:5500/admin}/warp:${WARP_VERSION:-latest}
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
# The signing key is created on first start and kept in the volume:
|
||||
@@ -35,12 +35,12 @@ services:
|
||||
environment:
|
||||
WARP_DB_DRIVER: sqlite
|
||||
volumes:
|
||||
- warp-data:/data
|
||||
- ${WARP_DATA_VOLUME:-warp-data}:/data
|
||||
ports:
|
||||
- "${WARP_PORT:-8008}:8008"
|
||||
|
||||
admin:
|
||||
image: ${WARP_REGISTRY:-ghcr.io/dariuszjaniak}/warp-admin:${WARP_VERSION:-latest}
|
||||
image: ${WARP_REGISTRY:-10.2.1.10:5500/admin}/warp-admin:${WARP_VERSION:-latest}
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
@@ -52,7 +52,7 @@ services:
|
||||
- "${WARP_ADMIN_PORT:-8009}:8009"
|
||||
|
||||
web:
|
||||
image: ${WARP_REGISTRY:-ghcr.io/dariuszjaniak}/warp-web:${WARP_VERSION:-latest}
|
||||
image: ${WARP_REGISTRY:-10.2.1.10:5500/admin}/warp-web:${WARP_VERSION:-latest}
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
|
||||
Reference in new issue
Block a user