Fix Active Pieces URL and PG Healthcheck (#1664)

* Fix Active Pieces URL and PG Healthcheck

* Fix wrong port
This commit is contained in:
DrMxrcy 2023-11-21 16:35:55 -05:00 committed by GitHub
parent c35c132b91
commit 01b86a55ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
"exposable": true, "exposable": true,
"id": "activepieces", "id": "activepieces",
"description": "Your friendliest open source all-in-one automation tool.", "description": "Your friendliest open source all-in-one automation tool.",
"tipi_version": 2, "tipi_version": 3,
"version": "0.13.0", "version": "0.13.0",
"categories": [ "categories": [
"automation" "automation"

View File

@ -17,7 +17,7 @@ services:
- AP_ENCRYPTION_KEY=${AP_ENCRYPTION_KEY} - AP_ENCRYPTION_KEY=${AP_ENCRYPTION_KEY}
- AP_JWT_SECRET=${AP_JWT_SECRET} - AP_JWT_SECRET=${AP_JWT_SECRET}
- AP_ENVIRONMENT=prod - AP_ENVIRONMENT=prod
- AP_FRONTEND_URL=http://localhost:8080 - AP_FRONTEND_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
- AP_WEBHOOK_TIMEOUT_SECONDS=30 - AP_WEBHOOK_TIMEOUT_SECONDS=30
- AP_TRIGGER_DEFAULT_POLL_INTERVAL=5 - AP_TRIGGER_DEFAULT_POLL_INTERVAL=5
- AP_POSTGRES_DATABASE=activepieces - AP_POSTGRES_DATABASE=activepieces
@ -38,7 +38,7 @@ services:
# Main # Main
traefik.enable: true traefik.enable: true
traefik.http.middlewares.activepieces-web-redirect.redirectscheme.scheme: https 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 # Web
traefik.http.routers.activepieces-insecure.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.activepieces-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.activepieces-insecure.entrypoints: web traefik.http.routers.activepieces-insecure.entrypoints: web
@ -65,7 +65,7 @@ services:
restart: unless-stopped restart: unless-stopped
container_name: activepieces-postgres container_name: activepieces-postgres
healthcheck: healthcheck:
test: pg_isready -U tipi test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 30s interval: 30s
timeout: 30s timeout: 30s
retries: 3 retries: 3