Fix Active Pieces URL and PG Healthcheck (#1664)
* Fix Active Pieces URL and PG Healthcheck * Fix wrong port
This commit is contained in:
parent
c35c132b91
commit
01b86a55ac
|
@ -5,7 +5,7 @@
|
|||
"exposable": true,
|
||||
"id": "activepieces",
|
||||
"description": "Your friendliest open source all-in-one automation tool.",
|
||||
"tipi_version": 2,
|
||||
"tipi_version": 3,
|
||||
"version": "0.13.0",
|
||||
"categories": [
|
||||
"automation"
|
||||
|
|
|
@ -17,7 +17,7 @@ services:
|
|||
- AP_ENCRYPTION_KEY=${AP_ENCRYPTION_KEY}
|
||||
- AP_JWT_SECRET=${AP_JWT_SECRET}
|
||||
- AP_ENVIRONMENT=prod
|
||||
- AP_FRONTEND_URL=http://localhost:8080
|
||||
- AP_FRONTEND_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||
- AP_WEBHOOK_TIMEOUT_SECONDS=30
|
||||
- AP_TRIGGER_DEFAULT_POLL_INTERVAL=5
|
||||
- AP_POSTGRES_DATABASE=activepieces
|
||||
|
@ -38,7 +38,7 @@ services:
|
|||
# Main
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.activepieces-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.activepieces.loadbalancer.server.port: 8744
|
||||
traefik.http.services.activepieces.loadbalancer.server.port: 80
|
||||
# Web
|
||||
traefik.http.routers.activepieces-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.activepieces-insecure.entrypoints: web
|
||||
|
@ -65,7 +65,7 @@ services:
|
|||
restart: unless-stopped
|
||||
container_name: activepieces-postgres
|
||||
healthcheck:
|
||||
test: pg_isready -U tipi
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
interval: 30s
|
||||
timeout: 30s
|
||||
retries: 3
|
||||
|
|
Loading…
Reference in New Issue
Block a user