Compare commits
6 Commits
0.3.1+v5.1
...
0.3.4+v5.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 4c57b8f80d | |||
| 290a8ad72d | |||
| 148439f7cf | |||
| dd90697270 | |||
| 03db64341d | |||
| f31df0e83c |
23
compose.yml
23
compose.yml
@ -66,6 +66,11 @@ x-common-env: &common-env
|
|||||||
CONVERSION_API_CONTENT_FIELD:
|
CONVERSION_API_CONTENT_FIELD:
|
||||||
CONVERSION_API_TIMEOUT:
|
CONVERSION_API_TIMEOUT:
|
||||||
CONVERSION_API_SECURE:
|
CONVERSION_API_SECURE:
|
||||||
|
# Y-Provider base URL + API key (needed when CONVERSION_UPLOAD_ENABLED is true)
|
||||||
|
Y_PROVIDER_API_BASE_URL: http://y-provider:4444/api/
|
||||||
|
Y_PROVIDER_API_KEY_FILE: /run/secrets/y_api_key
|
||||||
|
# DocSpec — converts .docx → BlockNote JSON, then y-provider turns that into Yjs
|
||||||
|
DOCSPEC_API_URL: http://docspec:4000/conversion
|
||||||
# Database connection pool
|
# Database connection pool
|
||||||
DB_PSYCOPG_POOL_ENABLED:
|
DB_PSYCOPG_POOL_ENABLED:
|
||||||
# Media auth header (matches recipe nginx by default)
|
# Media auth header (matches recipe nginx by default)
|
||||||
@ -105,7 +110,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=false"
|
- "traefik.enable=false"
|
||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.3.1+v5.1.0"
|
- "coop-cloud.${STACK_NAME}.version=0.3.4+v5.1.0"
|
||||||
user: "${DOCKER_USER:-1000}"
|
user: "${DOCKER_USER:-1000}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080"]
|
||||||
@ -198,6 +203,18 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
- y_api_key
|
- y_api_key
|
||||||
|
|
||||||
|
docspec:
|
||||||
|
image: ghcr.io/docspecio/api:3.0.2
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
healthcheck:
|
||||||
|
# Use 127.0.0.1, which is required instead of localhost for this healtcheck because of elixir/busybox bindings
|
||||||
|
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
||||||
|
interval: 15s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: pgautoupgrade/pgautoupgrade:18-debian
|
image: pgautoupgrade/pgautoupgrade:18-debian
|
||||||
networks:
|
networks:
|
||||||
@ -226,7 +243,7 @@ services:
|
|||||||
- postgres_p
|
- postgres_p
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:8.2.6
|
image: redis:8.8.0
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "redis-cli", "ping"]
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
@ -266,7 +283,7 @@ services:
|
|||||||
- minio_ru
|
- minio_ru
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: nginx:1.30.0
|
image: nginx:1.31.1
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8083"]
|
test: ["CMD", "curl", "-f", "http://localhost:8083"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
|
|||||||
Reference in New Issue
Block a user