chore(service): update convex template and image
This commit is contained in:
parent
96b3e269c5
commit
acde4ca02f
1 changed files with 30 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
# documentation: https://docs.convex.dev/
|
# documentation: https://github.com/get-convex/convex-backend/blob/main/self-hosted/README.md
|
||||||
# slogan: Convex is the open-source reactive database for app developers.
|
# slogan: Convex is the open-source reactive database for app developers.
|
||||||
# category: backend
|
# category: backend
|
||||||
# tags: database, reactive, database, ai, agents, chatbot, api, team, bot, flows
|
# tags: database, reactive, database, ai, agents, chatbot, api, team, bot, flows
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
image: ghcr.io/get-convex/convex-backend:5143fec81f146ca67495c12c6b7a15c5802c37e2
|
image: ghcr.io/get-convex/convex-backend:00bd92723422f3bff968230c94ccdeb8c1719832
|
||||||
volumes:
|
volumes:
|
||||||
- data:/convex/data
|
- data:/convex/data
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -16,22 +16,42 @@ services:
|
||||||
- INSTANCE_SECRET=${SERVICE_HEX_32_SECRET}
|
- INSTANCE_SECRET=${SERVICE_HEX_32_SECRET}
|
||||||
- CONVEX_RELEASE_VERSION_DEV=${CONVEX_RELEASE_VERSION_DEV:-}
|
- CONVEX_RELEASE_VERSION_DEV=${CONVEX_RELEASE_VERSION_DEV:-}
|
||||||
- ACTIONS_USER_TIMEOUT_SECS=${ACTIONS_USER_TIMEOUT_SECS:-}
|
- ACTIONS_USER_TIMEOUT_SECS=${ACTIONS_USER_TIMEOUT_SECS:-}
|
||||||
- CONVEX_CLOUD_ORIGIN=${SERVICE_URL_CONVEX_3210}
|
# URL of the Convex API as accessed by the client/frontend.
|
||||||
- CONVEX_SITE_ORIGIN=${SERVICE_URL_CONVEX_3211}
|
- CONVEX_CLOUD_ORIGIN=${SERVICE_URL_CONVEX}
|
||||||
|
# URL of Convex HTTP actions as accessed by the client/frontend.
|
||||||
|
- CONVEX_SITE_ORIGIN=${SERVICE_URL_BACKEND}
|
||||||
- DATABASE_URL=${DATABASE_URL:-}
|
- DATABASE_URL=${DATABASE_URL:-}
|
||||||
- DISABLE_BEACON=${DISABLE_BEACON:-}
|
- DISABLE_BEACON=${DISABLE_BEACON:?false}
|
||||||
- REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:-}
|
- REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:?false}
|
||||||
- CONVEX_SELF_HOSTED_URL=${SERVICE_URL_CONVEX_6791}
|
- DO_NOT_REQUIRE_SSL=${DO_NOT_REQUIRE_SSL:?true}
|
||||||
|
- POSTGRES_URL=${POSTGRES_URL:-}
|
||||||
|
- MYSQL_URL=${MYSQL_URL:-}
|
||||||
|
- RUST_LOG=${RUST_LOG:-info}
|
||||||
|
- RUST_BACKTRACE=${RUST_BACKTRACE:-}
|
||||||
|
- AWS_REGION=${AWS_REGION:-}
|
||||||
|
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-}
|
||||||
|
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-}
|
||||||
|
- AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN:-}
|
||||||
|
- AWS_S3_FORCE_PATH_STYLE=${AWS_S3_FORCE_PATH_STYLE:-}
|
||||||
|
- AWS_S3_DISABLE_SSE=${AWS_S3_DISABLE_SSE:-}
|
||||||
|
- AWS_S3_DISABLE_CHECKSUMS=${AWS_S3_DISABLE_CHECKSUMS:-}
|
||||||
|
- S3_STORAGE_EXPORTS_BUCKET=${S3_STORAGE_EXPORTS_BUCKET:-}
|
||||||
|
- S3_STORAGE_SNAPSHOT_IMPORTS_BUCKET=${S3_STORAGE_SNAPSHOT_IMPORTS_BUCKET:-}
|
||||||
|
- S3_STORAGE_MODULES_BUCKET=${S3_STORAGE_MODULES_BUCKET:-}
|
||||||
|
- S3_STORAGE_FILES_BUCKET=${S3_STORAGE_FILES_BUCKET:-}
|
||||||
|
- S3_STORAGE_SEARCH_BUCKET=${S3_STORAGE_SEARCH_BUCKET:-}
|
||||||
|
- S3_ENDPOINT_URL=${S3_ENDPOINT_URL:-}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl -f http://127.0.0.1:3210/version
|
test: curl -f http://127.0.0.1:3210/version
|
||||||
interval: 5s
|
interval: 5s
|
||||||
start_period: 5s
|
start_period: 10s
|
||||||
|
|
||||||
dashboard:
|
dashboard:
|
||||||
image: ghcr.io/get-convex/convex-dashboard:5143fec81f146ca67495c12c6b7a15c5802c37e2
|
image: ghcr.io/get-convex/convex-dashboard:33cef775a8a6228cbacee4a09ac2c4073d62ed13
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_URL_CONVEX_6791
|
- SERVICE_URL_CONVEX_6791
|
||||||
- NEXT_PUBLIC_DEPLOYMENT_URL=$SERVICE_URL_BACKEND_3210
|
# URL of the Convex API as accessed by the dashboard (browser).
|
||||||
|
- NEXT_PUBLIC_DEPLOYMENT_URL=${SERVICE_URL_BACKEND}
|
||||||
depends_on:
|
depends_on:
|
||||||
backend:
|
backend:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue