Change to latest compose, use affine container

This commit is contained in:
2025-07-15 10:26:24 +02:00
parent 94166f5ce3
commit f6e70d5870
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
name: affine
services:
affine:
image: ghcr.io/toeverything/affine-graphql:${AFFINE_REVISION:-stable}
image: ghcr.io/toeverything/affine:${AFFINE_REVISION:-stable}
container_name: affine_server
ports:
- '${PORT:-3010}:3010'
@@ -25,7 +25,7 @@ services:
restart: unless-stopped
affine_migration:
image: ghcr.io/toeverything/affine-graphql:${AFFINE_REVISION:-stable}
image: ghcr.io/toeverything/affine:${AFFINE_REVISION:-stable}
container_name: affine_migration_job
volumes:
# custom configurations

View File

@@ -95,7 +95,7 @@ podman run --rm \
-e AFFINE_INDEXER_ENABLED=false \
-v "$UPLOAD_LOCATION:/root/.affine/storage:Z" \
-v "$CONFIG_LOCATION:/root/.affine/config:Z" \
ghcr.io/toeverything/affine-graphql:$AFFINE_REVISION \
ghcr.io/toeverything/affine:$AFFINE_REVISION \
sh -c 'node ./scripts/self-host-predeploy.js'
@@ -113,7 +113,7 @@ podman create \
-e AFFINE_INDEXER_ENABLED=false \
-v "$UPLOAD_LOCATION:/root/.affine/storage:Z" \
-v "$CONFIG_LOCATION:/root/.affine/config:Z" \
ghcr.io/toeverything/affine-graphql:$AFFINE_REVISION
ghcr.io/toeverything/affine:$AFFINE_REVISION
podman generate systemd \
--new \