fix trigger
This commit is contained in:
@@ -14,8 +14,8 @@ services:
|
||||
- MAGIC_LINK_SECRET=$SERVICE_PASSWORD_64_MAGIC
|
||||
- ENCRYPTION_KEY=$SERVICE_PASSWORD_64_ENCRYPTION
|
||||
- SESSION_SECRET=$SERVICE_PASSWORD_64_SESSION
|
||||
- DATABASE_URL=${DATABASE_URL}
|
||||
- DIRECT_URL=${DATABASE_URL}
|
||||
- DATABASE_URL=${DATABASE_URL:?}
|
||||
- DIRECT_URL=${DATABASE_URL:?}
|
||||
- RUNTIME_PLATFORM=docker-compose
|
||||
- NODE_ENV=production
|
||||
- AUTH_GITHUB_CLIENT_ID=${AUTH_GITHUB_CLIENT_ID}
|
||||
@@ -24,4 +24,7 @@ services:
|
||||
- FROM_EMAIL=${FROM_EMAIL}
|
||||
- REPLY_TO_EMAIL=${REPLY_TO_EMAIL}
|
||||
healthcheck:
|
||||
test: ["NONE"]
|
||||
test: "timeout 10s bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1"
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -50,7 +50,6 @@ x-common-env: &common-env
|
||||
services:
|
||||
trigger:
|
||||
image: ghcr.io/triggerdotdev/trigger.dev:v3
|
||||
restart: always
|
||||
environment:
|
||||
SERVICE_FQDN_TRIGGER_3000: ""
|
||||
<<: *common-env
|
||||
@@ -66,9 +65,9 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
electric:
|
||||
image: electricsql/electric
|
||||
restart: always
|
||||
environment:
|
||||
<<: *common-env
|
||||
depends_on:
|
||||
@@ -78,11 +77,11 @@ services:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pwd
|
||||
|
||||
redis:
|
||||
image: "redis:7"
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
restart: always
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
@@ -94,7 +93,6 @@ services:
|
||||
- redis-data:/data
|
||||
postgresql:
|
||||
image: postgres:16-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- postgresql-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
@@ -107,9 +105,10 @@ services:
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
docker-provider:
|
||||
image: ghcr.io/triggerdotdev/provider/docker:v3
|
||||
restart: always
|
||||
platform: linux/amd64
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
user: root
|
||||
@@ -124,7 +123,7 @@ services:
|
||||
PLATFORM_SECRET: $PROVIDER_SECRET
|
||||
coordinator:
|
||||
image: ghcr.io/triggerdotdev/coordinator:v3
|
||||
restart: always
|
||||
platform: linux/amd64
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
user: root
|
||||
@@ -141,7 +140,3 @@ services:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pwd
|
||||
|
||||
volumes:
|
||||
postgresql-data:
|
||||
redis-data:
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user