-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (60 loc) · 1.91 KB
/
docker-compose.yml
File metadata and controls
63 lines (60 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
services:
backend:
# Change this to :${REV} if you want to pin to a specific version
image: ghcr.io/get-convex/convex-backend:latest
stop_grace_period: 10s
stop_signal: SIGINT
ports:
- "${PORT:-3210}:3210"
- "${SITE_PROXY_PORT:-3211}:3211"
volumes:
- data:/convex/data
environment:
- ACTIONS_USER_TIMEOUT_SECS
- AWS_ACCESS_KEY_ID
- AWS_REGION
- AWS_S3_DISABLE_CHECKSUMS
- AWS_S3_DISABLE_SSE
- AWS_S3_FORCE_PATH_STYLE
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- CONVEX_CLOUD_ORIGIN=${CONVEX_CLOUD_ORIGIN:-http://127.0.0.1:${PORT:-3210}}
- CONVEX_RELEASE_VERSION_DEV
- CONVEX_SITE_ORIGIN=${CONVEX_SITE_ORIGIN:-http://127.0.0.1:${SITE_PROXY_PORT:-3211}}
- DATABASE_URL
- DISABLE_BEACON
- DOCUMENT_RETENTION_DELAY=${DOCUMENT_RETENTION_DELAY:-172800} # Lower default document retention to 2 days
- DO_NOT_REQUIRE_SSL
- HTTP_SERVER_TIMEOUT_SECONDS
- INSTANCE_NAME
- INSTANCE_SECRET
- MYSQL_URL
- POSTGRES_URL
- REDACT_LOGS_TO_CLIENT
- RUST_BACKTRACE
- RUST_LOG=${RUST_LOG:-info}
- S3_ENDPOINT_URL
- S3_STORAGE_EXPORTS_BUCKET
- S3_STORAGE_FILES_BUCKET
- S3_STORAGE_MODULES_BUCKET
- S3_STORAGE_SEARCH_BUCKET
- S3_STORAGE_SNAPSHOT_IMPORTS_BUCKET
healthcheck:
test: curl -f http://localhost:3210/version
interval: 5s
start_period: 10s
dashboard:
# Change this to :${REV} if you want to pin to a specific version
image: ghcr.io/get-convex/convex-dashboard:latest
stop_grace_period: 10s
stop_signal: SIGINT
ports:
- "${DASHBOARD_PORT:-6791}:6791"
environment:
- NEXT_PUBLIC_DEPLOYMENT_URL=${NEXT_PUBLIC_DEPLOYMENT_URL:-http://127.0.0.1:${PORT:-3210}}
- NEXT_PUBLIC_LOAD_MONACO_INTERNALLY
depends_on:
backend:
condition: service_healthy
volumes:
data: