diff --git a/affine/deploy.sh b/affine/deploy.sh index 8d0bc38..bfd2792 100755 --- a/affine/deploy.sh +++ b/affine/deploy.sh @@ -92,6 +92,7 @@ podman run --rm \ --network $NETWORK \ -e REDIS_SERVER_HOST=$REDIS_SERVER_HOST \ -e DATABASE_URL="postgresql://$DB_USERNAME:$DB_PASSWORD@$DATABASE_HOST:$DATABASE_PORT/$DB_DATABASE" \ + -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 \ @@ -109,6 +110,7 @@ podman create \ -e MAILER_PORT=$SMTP_PORT \ -e MAILER_USER=$SMTP_USERNAME \ -e MAILER_PASSWORD=$SMTP_PASSWORD \ + -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