forked from mtusi2026/mtusi2026lab7
504 lines
16 KiB
YAML
504 lines
16 KiB
YAML
services:
|
|
openbao:
|
|
image: openbao/openbao:2.7.3
|
|
command:
|
|
- server
|
|
- -config=/openbao/config/openbao.hcl
|
|
environment:
|
|
BAO_ADDR: https://127.0.0.1:8200
|
|
BAO_CACERT: /openbao/tls/ca.crt
|
|
ports:
|
|
- 127.0.0.1:8200:8200
|
|
volumes:
|
|
- openbao_data:/openbao/data
|
|
- ./security/openbao/openbao.hcl:/openbao/config/openbao.hcl:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/openbao.crt:/openbao/tls/openbao.crt:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/openbao.key:/openbao/tls/openbao.key:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/openbao/tls/ca.crt:ro
|
|
restart: unless-stopped
|
|
prometheus:
|
|
image: prom/prometheus:v3.5.0
|
|
command:
|
|
- --config.file=/etc/prometheus/prometheus.yml
|
|
- --storage.tsdb.path=/prometheus
|
|
- --storage.tsdb.retention.time=7d
|
|
- --web.config.file=/etc/prometheus/web.yml
|
|
volumes:
|
|
- ${HOME}/.local/share/mtusi2026lab7/pki/ca.crt:/etc/prometheus/lab7-ca.crt:ro
|
|
- ./observability/prometheus.yaml:/etc/prometheus/prometheus.yml:ro
|
|
- prometheus_data:/prometheus
|
|
- ${HOME}/.local/share/mtusi2026lab7/pki/telemetry/prometheus/server.crt:/run/prometheus/server.crt:ro
|
|
- ${HOME}/.local/share/mtusi2026lab7/pki/telemetry/prometheus/server.key:/run/prometheus/server.key:ro
|
|
- ./observability/prometheus-web.yaml:/etc/prometheus/web.yml:ro
|
|
ports:
|
|
- 127.0.0.1:9090:9090
|
|
restart: unless-stopped
|
|
loki:
|
|
image: grafana/loki:3.5.5
|
|
command:
|
|
- -config.file=/etc/loki/local-config.yaml
|
|
volumes:
|
|
- /home/user/.local/share/mtusi2026lab7/pki/telemetry/loki/server.crt:/run/loki/server.crt:ro
|
|
- /home/user/.local/share/mtusi2026lab7/pki/telemetry/loki/server.key:/run/loki/server.key:ro
|
|
- ./observability/loki.yaml:/etc/loki/local-config.yaml:ro
|
|
- loki_data:/loki
|
|
user: '0'
|
|
restart: unless-stopped
|
|
tempo:
|
|
image: grafana/tempo:2.8.2
|
|
command:
|
|
- -config.file=/etc/tempo.yaml
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/tempo/server.crt:/run/tempo/server.crt:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/tempo/server.key:/run/tempo/server.key:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/tempo/ca.crt:/run/tempo/ca.crt:ro
|
|
- ./observability/tempo.yaml:/etc/tempo.yaml:ro
|
|
- tempo_data:/var/tempo
|
|
user: 10001:10001
|
|
restart: unless-stopped
|
|
grafana:
|
|
image: grafana/grafana:12.1.1
|
|
environment:
|
|
GF_SECURITY_ADMIN_USER: admin
|
|
GF_SECURITY_ADMIN_PASSWORD: ${GRAFANA_ADMIN_PASSWORD:?Set GRAFANA_ADMIN_PASSWORD
|
|
in .env}
|
|
GF_USERS_ALLOW_SIGN_UP: 'false'
|
|
GF_SERVER_PROTOCOL: https
|
|
GF_SERVER_CERT_FILE: /run/grafana/server.crt
|
|
GF_SERVER_CERT_KEY: /run/grafana/server.key
|
|
GF_SERVER_ROOT_URL: https://localhost:3000/
|
|
volumes:
|
|
- grafana_data:/var/lib/grafana
|
|
- ./observability/grafana/provisioning:/etc/grafana/provisioning:ro
|
|
- ./observability/grafana/dashboards:/var/lib/grafana/dashboards:ro
|
|
- ${HOME}/.local/share/mtusi2026lab7/pki/telemetry/grafana/server.crt:/run/grafana/server.crt:ro
|
|
- ${HOME}/.local/share/mtusi2026lab7/pki/telemetry/grafana/server.key:/run/grafana/server.key:ro
|
|
ports:
|
|
- 127.0.0.1:3000:3000
|
|
depends_on:
|
|
- prometheus
|
|
- loki
|
|
- tempo
|
|
restart: unless-stopped
|
|
otel-collector:
|
|
image: otel/opentelemetry-collector-contrib:0.136.0
|
|
command:
|
|
- --config=/etc/otelcol-contrib/config.yaml
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/otel-collector-client/client.crt:/run/telemetry/client.crt:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/otel-collector-client/client.key:/run/telemetry/client.key:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/otel-collector/server.crt:/run/telemetry/server.crt:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/otel-collector/server.key:/run/telemetry/server.key:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/telemetry-runtime/otel-collector/ca.crt:/run/telemetry/ca.crt:ro
|
|
- ./observability/otel-collector.yaml:/etc/otelcol-contrib/config.yaml:ro
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- /otelcol-contrib
|
|
- components
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
rabbitmq:
|
|
image: rabbitmq:4.1.8-management
|
|
hostname: rabbitmq
|
|
volumes:
|
|
- rabbitmq_data:/var/lib/rabbitmq
|
|
- ./security/rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/run/lab7-rabbitmq/ca.crt:ro
|
|
- ${LAB7_PKI_DIR}/rabbitmq.crt:/run/lab7-rabbitmq/rabbitmq.crt:ro
|
|
- ${LAB7_PKI_DIR}/rabbitmq-server.key:/run/lab7-rabbitmq/rabbitmq-server.key:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/rabbitmq-definitions.json:/run/lab7-rabbitmq/definitions.json:ro
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- rabbitmq-diagnostics
|
|
- -q
|
|
- ping
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 15s
|
|
restart: unless-stopped
|
|
db:
|
|
image: postgres:16-alpine
|
|
command:
|
|
- postgres
|
|
- -c
|
|
- ssl=on
|
|
- -c
|
|
- ssl_cert_file=/etc/postgresql/tls/db.crt
|
|
- -c
|
|
- ssl_key_file=/etc/postgresql/tls/db-server.key
|
|
- -c
|
|
- ssl_min_protocol_version=TLSv1.2
|
|
- -c
|
|
- hba_file=/etc/postgresql/pg_hba.conf
|
|
environment:
|
|
POSTGRES_DB: messenger
|
|
POSTGRES_USER: messenger
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Set POSTGRES_PASSWORD in .env}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/db.crt:/etc/postgresql/tls/db.crt:ro
|
|
- ${LAB7_PKI_DIR}/db-server.key:/etc/postgresql/tls/db-server.key:ro
|
|
- ./security/postgres/pg_hba.conf:/etc/postgresql/pg_hba.conf:ro
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- pg_isready -U messenger -d messenger
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 20
|
|
restart: unless-stopped
|
|
minio:
|
|
image: rustfs/rustfs:1.0.3
|
|
command:
|
|
- /data
|
|
environment:
|
|
RUSTFS_ACCESS_KEY: ${S3_ACCESS_KEY:?Set S3_ACCESS_KEY in .env}
|
|
RUSTFS_SECRET_KEY: ${S3_SECRET_KEY:?Set S3_SECRET_KEY in .env}
|
|
RUSTFS_ADDRESS: :9000
|
|
RUSTFS_TLS_PATH: /etc/rustfs/tls
|
|
volumes:
|
|
- minio_data:/data
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/rustfs-tls:/etc/rustfs/tls:ro
|
|
restart: unless-stopped
|
|
s3-init:
|
|
build: .
|
|
command:
|
|
- python
|
|
- -m
|
|
- src.s3_setup
|
|
environment:
|
|
S3_ENDPOINT: https://minio:9000
|
|
AWS_CA_BUNDLE: /etc/ssl/lab7/ca.crt
|
|
S3_ACCESS_KEY: ${S3_ACCESS_KEY}
|
|
S3_SECRET_KEY: ${S3_SECRET_KEY}
|
|
S3_BUCKET: ${S3_BUCKET:-messenger-attachments}
|
|
depends_on:
|
|
minio:
|
|
condition: service_started
|
|
restart: 'no'
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
migrate:
|
|
build: .
|
|
command:
|
|
- python
|
|
- -m
|
|
- src.migrate
|
|
environment:
|
|
DATABASE_URL: postgresql://messenger:${POSTGRES_PASSWORD}@db:5432/messenger?sslmode=verify-full&sslrootcert=/etc/ssl/lab7/ca.crt
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
restart: 'no'
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
api1:
|
|
user: 1000:1000
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
mem_limit: 512m
|
|
cpus: 1.0
|
|
pids_limit: 128
|
|
build: .
|
|
command:
|
|
- python
|
|
- -m
|
|
- src.openbao_entrypoint
|
|
- --
|
|
- uvicorn
|
|
- src.main:app
|
|
- --host
|
|
- 127.0.0.1
|
|
- --port
|
|
- '8080'
|
|
- --workers
|
|
- '1'
|
|
environment:
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_CACERT: /etc/ssl/lab7/ca.crt
|
|
BAO_CERT_FILE: /run/lab7/bao/client.crt
|
|
BAO_KEY_FILE: /run/lab7/bao/client.key
|
|
BAO_CERT_NAME: lab7-api1-next
|
|
BAO_SECRET_PATH: lab7/data/api/runtime
|
|
S3_ENDPOINT: https://minio:9000
|
|
S3_BUCKET: ${S3_BUCKET}
|
|
AWS_CA_BUNDLE: /etc/ssl/lab7/ca.crt
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4320
|
|
OTEL_SERVICE_NAME: messenger-api
|
|
OTEL_PYTHON_FASTAPI_EXCLUDED_URLS: /health/.*
|
|
IMAGE_MAX_ATTEMPTS: ${IMAGE_MAX_ATTEMPTS:-5}
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
depends_on:
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- python
|
|
- -c
|
|
- import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health/ready',
|
|
timeout=3)
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 20
|
|
stop_grace_period: 15s
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
- type: bind
|
|
source: ${HOME}/.local/share/mtusi2026lab7/pki/openbao-clients/rotation-api1/client.crt
|
|
target: /run/lab7/bao/client.crt
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${HOME}/.local/share/mtusi2026lab7/pki/openbao-clients/rotation-api1/client.key
|
|
target: /run/lab7/bao/client.key
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
api2:
|
|
user: 1000:1000
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
mem_limit: 512m
|
|
cpus: 1.0
|
|
pids_limit: 128
|
|
build: .
|
|
command:
|
|
- python
|
|
- -m
|
|
- src.openbao_entrypoint
|
|
- --
|
|
- uvicorn
|
|
- src.main:app
|
|
- --host
|
|
- 127.0.0.1
|
|
- --port
|
|
- '8080'
|
|
- --workers
|
|
- '1'
|
|
environment:
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_CACERT: /etc/ssl/lab7/ca.crt
|
|
BAO_CERT_FILE: /run/lab7/bao/client.crt
|
|
BAO_KEY_FILE: /run/lab7/bao/client.key
|
|
BAO_CERT_NAME: lab7-api2-next
|
|
BAO_SECRET_PATH: lab7/data/api/runtime
|
|
S3_ENDPOINT: https://minio:9000
|
|
S3_BUCKET: ${S3_BUCKET}
|
|
AWS_CA_BUNDLE: /etc/ssl/lab7/ca.crt
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4320
|
|
OTEL_SERVICE_NAME: messenger-api
|
|
OTEL_PYTHON_FASTAPI_EXCLUDED_URLS: /health/.*
|
|
IMAGE_MAX_ATTEMPTS: ${IMAGE_MAX_ATTEMPTS:-5}
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
depends_on:
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- python
|
|
- -c
|
|
- import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health/ready',
|
|
timeout=3)
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 20
|
|
stop_grace_period: 15s
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
- type: bind
|
|
source: ${HOME}/.local/share/mtusi2026lab7/pki/openbao-clients/rotation-api2/client.crt
|
|
target: /run/lab7/bao/client.crt
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${HOME}/.local/share/mtusi2026lab7/pki/openbao-clients/rotation-api2/client.key
|
|
target: /run/lab7/bao/client.key
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
dispatcher:
|
|
user: 1000:1000
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
mem_limit: 256m
|
|
cpus: 0.5
|
|
pids_limit: 64
|
|
build: .
|
|
command:
|
|
- python
|
|
- -m
|
|
- src.dispatcher
|
|
environment:
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4320
|
|
OTEL_SERVICE_NAME: messenger-dispatcher
|
|
DATABASE_URL: postgresql://messenger_dispatcher:${DISPATCHER_DB_PASSWORD:?Set
|
|
DISPATCHER_DB_PASSWORD in .env}@db:5432/messenger?sslmode=verify-full&sslrootcert=/etc/ssl/lab7/ca.crt
|
|
RABBITMQ_HOST: rabbitmq
|
|
RABBITMQ_USER: messenger_publisher
|
|
RABBITMQ_PASSWORD: ${RABBITMQ_PUBLISHER_PASSWORD:?Set RABBITMQ_PUBLISHER_PASSWORD
|
|
in .env}
|
|
RABBITMQ_QUEUE: ${RABBITMQ_QUEUE:-image_jobs}
|
|
RABBITMQ_CA_FILE: /etc/ssl/lab7/ca.crt
|
|
depends_on:
|
|
rabbitmq:
|
|
condition: service_healthy
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
restart: unless-stopped
|
|
stop_grace_period: 15s
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
worker:
|
|
user: 1000:1000
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
mem_limit: 512m
|
|
cpus: 1.0
|
|
pids_limit: 128
|
|
build: .
|
|
command:
|
|
- python
|
|
- -m
|
|
- src.openbao_entrypoint
|
|
- --
|
|
- python
|
|
- -m
|
|
- src.worker
|
|
environment:
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_CACERT: /etc/ssl/lab7/ca.crt
|
|
BAO_CERT_FILE: /run/lab7/bao/client.crt
|
|
BAO_KEY_FILE: /run/lab7/bao/client.key
|
|
BAO_CERT_NAME: lab7-worker-next
|
|
BAO_SECRET_PATH: lab7/data/worker/runtime
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4320
|
|
OTEL_SERVICE_NAME: messenger-worker
|
|
S3_ENDPOINT: https://minio:9000
|
|
AWS_CA_BUNDLE: /etc/ssl/lab7/ca.crt
|
|
S3_BUCKET: ${S3_BUCKET:-messenger-attachments}
|
|
RABBITMQ_HOST: rabbitmq
|
|
RABBITMQ_QUEUE: ${RABBITMQ_QUEUE:-image_jobs}
|
|
IMAGE_MAX_ATTEMPTS: ${IMAGE_MAX_ATTEMPTS:-5}
|
|
RABBITMQ_CA_FILE: /etc/ssl/lab7/ca.crt
|
|
depends_on:
|
|
rabbitmq:
|
|
condition: service_healthy
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
restart: unless-stopped
|
|
stop_grace_period: 20s
|
|
volumes:
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/etc/ssl/lab7/ca.crt:ro
|
|
- type: bind
|
|
source: ${HOME}/.local/share/mtusi2026lab7/pki/openbao-clients/rotation-worker/client.crt
|
|
target: /run/lab7/bao/client.crt
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${HOME}/.local/share/mtusi2026lab7/pki/openbao-clients/rotation-worker/client.key
|
|
target: /run/lab7/bao/client.key
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
api1-mtls:
|
|
image: haproxy:3.2-alpine
|
|
network_mode: service:api1
|
|
user: 1000:1000
|
|
entrypoint:
|
|
- haproxy
|
|
command:
|
|
- -W
|
|
- -db
|
|
- -f
|
|
- /usr/local/etc/haproxy/haproxy.cfg
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
volumes:
|
|
- ./security/haproxy/api1.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/api1.pem:/run/lab7-pki/api1.pem:ro
|
|
- ${LAB7_PKI_DIR}/ca.crt:/run/lab7-pki/ca.crt:ro
|
|
depends_on:
|
|
api1:
|
|
condition: service_healthy
|
|
restart: unless-stopped
|
|
api2-mtls:
|
|
image: haproxy:3.2-alpine
|
|
network_mode: service:api2
|
|
user: 1000:1000
|
|
entrypoint:
|
|
- haproxy
|
|
command:
|
|
- -W
|
|
- -db
|
|
- -f
|
|
- /usr/local/etc/haproxy/haproxy.cfg
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
volumes:
|
|
- ./security/haproxy/api2.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/api2.pem:/run/lab7-pki/api2.pem:ro
|
|
- ${LAB7_PKI_DIR}/ca.crt:/run/lab7-pki/ca.crt:ro
|
|
depends_on:
|
|
api2:
|
|
condition: service_healthy
|
|
restart: unless-stopped
|
|
nginx:
|
|
image: nginx:1.29-alpine
|
|
ports:
|
|
- 127.0.0.1:8443:443
|
|
volumes:
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ${LAB7_PKI_DIR:?Set LAB7_PKI_DIR}/ca.crt:/run/lab7-pki/ca.crt:ro
|
|
- ${LAB7_PKI_DIR}/ingress.crt:/run/lab7-pki/ingress.crt:ro
|
|
- ${LAB7_PKI_DIR}/ingress.key:/run/lab7-pki/ingress.key:ro
|
|
- ${LAB7_PKI_DIR}/lb-client.crt:/run/lab7-pki/lb-client.crt:ro
|
|
- ${LAB7_PKI_DIR}/lb-client.key:/run/lab7-pki/lb-client.key:ro
|
|
depends_on:
|
|
api1-mtls:
|
|
condition: service_started
|
|
api2-mtls:
|
|
condition: service_started
|
|
restart: unless-stopped
|
|
volumes:
|
|
postgres_data: null
|
|
minio_data: null
|
|
rabbitmq_data: null
|
|
prometheus_data: null
|
|
loki_data: null
|
|
tempo_data: null
|
|
grafana_data: null
|
|
openbao_data: null
|