Remove Affine_Migration
This commit is contained in:
+19
-19
@@ -24,25 +24,25 @@ services:
|
|||||||
- AFFINE_INDEXER_ENABLED=false
|
- AFFINE_INDEXER_ENABLED=false
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
affine_migration:
|
#affine_migration:
|
||||||
image: ghcr.io/toeverything/affine:${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
|
||||||
- ${UPLOAD_LOCATION}:/root/.affine/storage
|
# - ${UPLOAD_LOCATION}:/root/.affine/storage
|
||||||
- ${CONFIG_LOCATION}:/root/.affine/config
|
# - ${CONFIG_LOCATION}:/root/.affine/config
|
||||||
command: ['sh', '-c', 'node ./scripts/self-host-predeploy.js']
|
# command: ['sh', '-c', 'node ./scripts/self-host-predeploy.js']
|
||||||
env_file:
|
# env_file:
|
||||||
- .env
|
# - .env
|
||||||
environment:
|
# environment:
|
||||||
- REDIS_SERVER_HOST=redis
|
# - REDIS_SERVER_HOST=redis
|
||||||
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
|
# - DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
|
||||||
- AFFINE_INDEXER_ENABLED=false
|
# - AFFINE_INDEXER_ENABLED=false
|
||||||
depends_on:
|
# depends_on:
|
||||||
postgres:
|
# postgres:
|
||||||
condition: service_healthy
|
# condition: service_healthy
|
||||||
redis:
|
# redis:
|
||||||
condition: service_healthy
|
# condition: service_healthy
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
|
|||||||
Reference in New Issue
Block a user