Compare commits

...

2 Commits

Author SHA1 Message Date
81311cf1bc Merge remote-tracking branch 'gitea/master' 2025-07-15 10:27:05 +02:00
f6e70d5870 Change to latest compose, use affine container 2025-07-15 10:26:24 +02:00
2 changed files with 4 additions and 4 deletions

View File

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

View File

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