From f6e70d587061b189ca10d88a5adfb4b64190826a Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Tue, 15 Jul 2025 10:26:24 +0200 Subject: [PATCH] Change to latest compose, use affine container --- affine/compose.yml | 4 ++-- affine/deploy.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/affine/compose.yml b/affine/compose.yml index 982f186..0920644 100644 --- a/affine/compose.yml +++ b/affine/compose.yml @@ -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 diff --git a/affine/deploy.sh b/affine/deploy.sh index 26bbb8a..0d72e0d 100755 --- a/affine/deploy.sh +++ b/affine/deploy.sh @@ -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 \