Files
sendico/ci/prod/compose/fx_ingestor.yml
Stephan D ec3019c462
Some checks failed
ci/woodpecker/push/fx_ingestor Pipeline failed
ci/woodpecker/push/fx_oracle Pipeline failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
+ fx
2025-11-07 20:13:41 +01:00

40 lines
1.1 KiB
YAML

# Compose v2 - FX ingestor
x-common-env: &common-env
env_file:
- ../env/.env.runtime
- ../env/.env.version
networks:
sendico-net:
external: true
name: sendico-net
services:
sendico_fx_ingestor:
<<: *common-env
container_name: sendico-fx-ingestor
restart: unless-stopped
image: ${REGISTRY_URL}/fx/ingestor:${APP_V}
pull_policy: always
environment:
FX_MONGO_HOST: ${FX_MONGO_HOST}
FX_MONGO_PORT: ${FX_MONGO_PORT}
FX_MONGO_DATABASE: ${FX_MONGO_DATABASE}
FX_MONGO_USER: ${FX_MONGO_USER}
FX_MONGO_PASSWORD: ${FX_MONGO_PASSWORD}
FX_MONGO_AUTH_SOURCE: ${FX_MONGO_AUTH_SOURCE}
FX_MONGO_REPLICA_SET: ${FX_MONGO_REPLICA_SET}
FX_INGESTOR_METRICS_PORT: ${FX_INGESTOR_METRICS_PORT}
command: ["--config.file", "/app/config.yml"]
ports:
- "0.0.0.0:${FX_INGESTOR_METRICS_PORT}:${FX_INGESTOR_METRICS_PORT}"
healthcheck:
test: ["CMD-SHELL","wget -qO- http://localhost:${FX_INGESTOR_METRICS_PORT}/health | grep -q '\"status\":\"ok\"'"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
networks:
- sendico-net