-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
28 lines (26 loc) · 1.01 KB
/
Copy pathdocker-compose.ci.yml
File metadata and controls
28 lines (26 loc) · 1.01 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
# CI / lab override for docker-compose.yml
#
# Skips host-network coturn (flaky in GitHub Actions) and uses a pre-built
# image tag when PALE_SERVER_IMAGE is set.
#
# Usage:
# export POSTGRES_PASSWORD=... TURN_SECRET=... PALE_SERVER_TOKEN=... \
# PALE_ADMIN_PASSWORD=... PALE_STORAGE_KEY=...
# docker compose -f docker-compose.yml -f docker-compose.ci.yml \
# up -d --wait postgres nats pale-server
#
# Optional: build first with
# docker build -f Dockerfile.pale-server -t pale-server:ci .
services:
coturn:
# Do not start coturn in CI; pale-server does not depend on it for smoke.
profiles: ["turn"]
pale-server:
# Prefer a pre-built CI image (workflow sets PALE_SERVER_IMAGE=pale-server:ci).
image: ${PALE_SERVER_IMAGE:-pale-server:ci}
pull_policy: never
environment:
# CI defaults: dual-admin off so evidence/smoke scripts stay simple
PALE_REQUIRE_DUAL_ADMIN: "${PALE_REQUIRE_DUAL_ADMIN:-false}"
PALE_STUN_IGNORE_FAILURE: "true"
RUST_LOG: "${RUST_LOG:-warn}"