Compare commits
2 Commits
6da0b17b99
...
81311cf1bc
| Author | SHA1 | Date | |
|---|---|---|---|
| 81311cf1bc | |||
| f6e70d5870 |
@@ -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
|
||||||
|
|||||||
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user