forked from mtusi2026/mtusi2026lab7
1258 lines
32 KiB
YAML
1258 lines
32 KiB
YAML
name: mtusi-lab7
|
|
services:
|
|
postgres:
|
|
image: postgres:17.6-alpine3.22
|
|
environment:
|
|
POSTGRES_DB: messenger
|
|
POSTGRES_USER: messenger
|
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
|
secrets:
|
|
- postgres_password
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./secrets/tls/postgres:/run/tls:ro
|
|
- ./infra/security/pg_hba.conf:/etc/postgresql/pg_hba.conf:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
- backend
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- pg_isready -U messenger -d messenger
|
|
interval: 3s
|
|
timeout: 3s
|
|
retries: 20
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '1.00'
|
|
memory: 512M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
- /var/run/postgresql:uid=70,gid=70,mode=775
|
|
command:
|
|
- /bin/sh
|
|
- -ec
|
|
- cp /run/tls/key.key /tmp/pg.key; chmod 600 /tmp/pg.key; exec docker-entrypoint.sh
|
|
postgres -c ssl=on -c ssl_cert_file=/run/tls/cert.crt -c ssl_key_file=/tmp/pg.key
|
|
-c hba_file=/etc/postgresql/pg_hba.conf
|
|
user: 70:70
|
|
redis:
|
|
image: redis:8.2.1-alpine3.22
|
|
command:
|
|
- redis-server
|
|
- --bind
|
|
- 127.0.0.1
|
|
- --port
|
|
- '16379'
|
|
- --appendonly
|
|
- 'yes'
|
|
- --appendfsync
|
|
- always
|
|
- --maxmemory
|
|
- 64mb
|
|
- --maxmemory-policy
|
|
- noeviction
|
|
- --aclfile
|
|
- /run/acl/redis.acl
|
|
secrets:
|
|
- redis_operator
|
|
volumes:
|
|
- redis_data:/data
|
|
- ./secrets/redis.acl:/run/acl/redis.acl:ro
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- redis-cli -p 16379 --user operator --no-auth-warning -a "$$(cat /run/secrets/redis_operator)"
|
|
ping | grep PONG
|
|
interval: 3s
|
|
timeout: 3s
|
|
retries: 20
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
network_mode: service:tls-redis
|
|
depends_on:
|
|
tls-redis:
|
|
condition: service_started
|
|
redis-volume-init:
|
|
condition: service_completed_successfully
|
|
user: 999:1000
|
|
migrate:
|
|
image: mtusi-lab7-api:local
|
|
pull_policy: never
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
healthcheck:
|
|
disable: true
|
|
command:
|
|
- migrate
|
|
environment:
|
|
APP_HOST: ${APP_HOST:-0.0.0.0}
|
|
APP_PORT: 8080
|
|
APP_ENV: ${APP_ENV:-lab}
|
|
OTEL_SERVICE_NAME: messenger-api
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: deployment.environment.name=lab
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
|
DB_TIMEOUT_MS: ${DB_TIMEOUT_MS:-3000}
|
|
DB_MAX_CONNS: ${DB_MAX_CONNS:-10}
|
|
GOMEMLIMIT: 1200MiB
|
|
S3_ENDPOINT: https://s3:9000
|
|
S3_REGION: us-east-1
|
|
S3_BUCKET: messenger-attachments
|
|
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
|
|
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-60}
|
|
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
|
|
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
|
|
CLEANUP_GRACE_SECONDS: ${CLEANUP_GRACE_SECONDS:-3600}
|
|
TLS_CA_FILE: /run/ca/ca.crt
|
|
TLS_CERT_FILE: /run/tls/cert.crt
|
|
TLS_KEY_FILE: /run/tls/key.key
|
|
TLS_SERVER_NAME: migrate
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_ROLE: migrate
|
|
SSL_CERT_FILE: /run/ca/ca.crt
|
|
secrets: []
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
openbao:
|
|
condition: service_started
|
|
restart: 'no'
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
volumes:
|
|
- ./secrets/tls/migrate:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
api1:
|
|
image: mtusi-lab7-api:local
|
|
pull_policy: never
|
|
environment:
|
|
APP_HOST: ${APP_HOST:-0.0.0.0}
|
|
APP_PORT: 8080
|
|
APP_ENV: ${APP_ENV:-lab}
|
|
OTEL_SERVICE_NAME: messenger-api
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: deployment.environment.name=lab
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
|
DB_TIMEOUT_MS: ${DB_TIMEOUT_MS:-3000}
|
|
DB_MAX_CONNS: ${DB_MAX_CONNS:-10}
|
|
GOMEMLIMIT: 1200MiB
|
|
S3_ENDPOINT: https://s3:9000
|
|
S3_REGION: us-east-1
|
|
S3_BUCKET: messenger-attachments
|
|
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
|
|
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-60}
|
|
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
|
|
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
|
|
CLEANUP_GRACE_SECONDS: ${CLEANUP_GRACE_SECONDS:-3600}
|
|
INSTANCE_ID: api-1
|
|
TLS_CA_FILE: /run/ca/ca.crt
|
|
TLS_CERT_FILE: /run/tls/cert.crt
|
|
TLS_KEY_FILE: /run/tls/key.key
|
|
TLS_SERVER_NAME: api1
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_ROLE: api1
|
|
SSL_CERT_FILE: /run/ca/ca.crt
|
|
secrets: []
|
|
tmpfs: &id001
|
|
- /tmp:size=20m,mode=1777
|
|
networks: &id002
|
|
- frontend
|
|
- backend
|
|
healthcheck: &id003
|
|
test:
|
|
- CMD
|
|
- /messenger
|
|
- healthcheck
|
|
interval: 3s
|
|
timeout: 2s
|
|
retries: 20
|
|
start_period: 3s
|
|
restart: unless-stopped
|
|
init: true
|
|
stop_grace_period: 10s
|
|
deploy: &id004
|
|
resources:
|
|
limits:
|
|
cpus: '0.50'
|
|
memory: 1536M
|
|
depends_on:
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
redis:
|
|
condition: service_healthy
|
|
openbao:
|
|
condition: service_started
|
|
db-grants:
|
|
condition: service_completed_successfully
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
volumes:
|
|
- ./secrets/tls/api1:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
api2:
|
|
image: mtusi-lab7-api:local
|
|
pull_policy: never
|
|
environment:
|
|
APP_HOST: ${APP_HOST:-0.0.0.0}
|
|
APP_PORT: 8080
|
|
APP_ENV: ${APP_ENV:-lab}
|
|
OTEL_SERVICE_NAME: messenger-api
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: deployment.environment.name=lab
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
|
DB_TIMEOUT_MS: ${DB_TIMEOUT_MS:-3000}
|
|
DB_MAX_CONNS: ${DB_MAX_CONNS:-10}
|
|
GOMEMLIMIT: 1200MiB
|
|
S3_ENDPOINT: https://s3:9000
|
|
S3_REGION: us-east-1
|
|
S3_BUCKET: messenger-attachments
|
|
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
|
|
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-60}
|
|
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
|
|
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
|
|
CLEANUP_GRACE_SECONDS: ${CLEANUP_GRACE_SECONDS:-3600}
|
|
INSTANCE_ID: api-2
|
|
TLS_CA_FILE: /run/ca/ca.crt
|
|
TLS_CERT_FILE: /run/tls/cert.crt
|
|
TLS_KEY_FILE: /run/tls/key.key
|
|
TLS_SERVER_NAME: api2
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_ROLE: api2
|
|
SSL_CERT_FILE: /run/ca/ca.crt
|
|
secrets: []
|
|
tmpfs: *id001
|
|
networks: *id002
|
|
healthcheck: *id003
|
|
restart: unless-stopped
|
|
init: true
|
|
stop_grace_period: 10s
|
|
deploy: *id004
|
|
depends_on:
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
redis:
|
|
condition: service_healthy
|
|
openbao:
|
|
condition: service_started
|
|
db-grants:
|
|
condition: service_completed_successfully
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
volumes:
|
|
- ./secrets/tls/api2:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
s3:
|
|
image: mtusi-lab7-minio:RELEASE.2025-10-15T17-29-55Z
|
|
build:
|
|
context: .
|
|
dockerfile: infra/Dockerfile.minio
|
|
command:
|
|
- server
|
|
- /data
|
|
- --address
|
|
- 127.0.0.1:19000
|
|
- --console-address
|
|
- 127.0.0.1:19001
|
|
environment:
|
|
MINIO_ROOT_USER_FILE: /run/secrets/s3_admin_access
|
|
MINIO_ROOT_PASSWORD_FILE: /run/secrets/s3_admin_secret
|
|
MINIO_BROWSER: 'off'
|
|
MINIO_UPDATE: 'off'
|
|
volumes:
|
|
- minio_data:/data
|
|
secrets:
|
|
- s3_admin_access
|
|
- s3_admin_secret
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- wget
|
|
- -q
|
|
- -T
|
|
- '1'
|
|
- -O
|
|
- /dev/null
|
|
- http://127.0.0.1:19000/minio/health/ready
|
|
interval: 3s
|
|
timeout: 2s
|
|
retries: 20
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '1.00'
|
|
memory: 512M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
network_mode: service:tls-s3
|
|
depends_on:
|
|
tls-s3:
|
|
condition: service_started
|
|
s3-init:
|
|
image: mtusi-lab7-api:local
|
|
pull_policy: never
|
|
healthcheck:
|
|
disable: true
|
|
command:
|
|
- s3-bootstrap
|
|
environment:
|
|
APP_HOST: ${APP_HOST:-0.0.0.0}
|
|
APP_PORT: 8080
|
|
APP_ENV: ${APP_ENV:-lab}
|
|
OTEL_SERVICE_NAME: messenger-api
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: deployment.environment.name=lab
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
|
DB_TIMEOUT_MS: ${DB_TIMEOUT_MS:-3000}
|
|
DB_MAX_CONNS: ${DB_MAX_CONNS:-10}
|
|
GOMEMLIMIT: 1200MiB
|
|
S3_ENDPOINT: https://s3:9000
|
|
S3_REGION: us-east-1
|
|
S3_BUCKET: messenger-attachments
|
|
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
|
|
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-60}
|
|
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
|
|
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
|
|
CLEANUP_GRACE_SECONDS: ${CLEANUP_GRACE_SECONDS:-3600}
|
|
TLS_CA_FILE: /run/ca/ca.crt
|
|
TLS_CERT_FILE: /run/tls/cert.crt
|
|
TLS_KEY_FILE: /run/tls/key.key
|
|
TLS_SERVER_NAME: s3-init
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_ROLE: ''
|
|
SSL_CERT_FILE: /run/ca/ca.crt
|
|
DATABASE_URL_FILE: /run/secrets/database_url
|
|
S3_ACCESS_KEY_ID_FILE: /run/secrets/s3_admin_access
|
|
S3_SECRET_ACCESS_KEY_FILE: /run/secrets/s3_admin_secret
|
|
secrets:
|
|
- database_url
|
|
- s3_admin_access
|
|
- s3_admin_secret
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
s3:
|
|
condition: service_healthy
|
|
openbao:
|
|
condition: service_started
|
|
restart: 'no'
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
volumes:
|
|
- ./secrets/tls/s3-init:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
- ./secrets/operator/service-secrets.json:/run/bootstrap/service-secrets.json:ro
|
|
cleanup:
|
|
image: mtusi-lab7-api:local
|
|
pull_policy: never
|
|
healthcheck:
|
|
disable: true
|
|
command:
|
|
- cleanup-loop
|
|
environment:
|
|
APP_HOST: ${APP_HOST:-0.0.0.0}
|
|
APP_PORT: 8080
|
|
APP_ENV: ${APP_ENV:-lab}
|
|
OTEL_SERVICE_NAME: messenger-api
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: deployment.environment.name=lab
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
|
DB_TIMEOUT_MS: ${DB_TIMEOUT_MS:-3000}
|
|
DB_MAX_CONNS: ${DB_MAX_CONNS:-10}
|
|
GOMEMLIMIT: 1200MiB
|
|
S3_ENDPOINT: https://s3:9000
|
|
S3_REGION: us-east-1
|
|
S3_BUCKET: messenger-attachments
|
|
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
|
|
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-60}
|
|
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
|
|
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
|
|
CLEANUP_GRACE_SECONDS: ${CLEANUP_GRACE_SECONDS:-3600}
|
|
TLS_CA_FILE: /run/ca/ca.crt
|
|
TLS_CERT_FILE: /run/tls/cert.crt
|
|
TLS_KEY_FILE: /run/tls/key.key
|
|
TLS_SERVER_NAME: cleanup
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_ROLE: cleanup
|
|
SSL_CERT_FILE: /run/ca/ca.crt
|
|
secrets: []
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
openbao:
|
|
condition: service_started
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
db-grants:
|
|
condition: service_completed_successfully
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
volumes:
|
|
- ./secrets/tls/cleanup:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
broker:
|
|
image: redis:8.2.1-alpine3.22
|
|
command:
|
|
- redis-server
|
|
- --bind
|
|
- 127.0.0.1
|
|
- --port
|
|
- '16379'
|
|
- --appendonly
|
|
- 'yes'
|
|
- --appendfsync
|
|
- always
|
|
- --maxmemory
|
|
- 64mb
|
|
- --maxmemory-policy
|
|
- noeviction
|
|
- --aclfile
|
|
- /run/acl/broker.acl
|
|
secrets:
|
|
- broker_operator
|
|
volumes:
|
|
- broker_data:/data
|
|
- ./secrets/broker.acl:/run/acl/broker.acl:ro
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- redis-cli -p 16379 --user operator --no-auth-warning -a "$$(cat /run/secrets/broker_operator)"
|
|
ping | grep PONG
|
|
interval: 3s
|
|
timeout: 2s
|
|
retries: 20
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
network_mode: service:tls-broker
|
|
depends_on:
|
|
tls-broker:
|
|
condition: service_started
|
|
broker-volume-init:
|
|
condition: service_completed_successfully
|
|
user: 999:1000
|
|
dispatcher:
|
|
image: mtusi-lab7-api:local
|
|
pull_policy: never
|
|
command:
|
|
- dispatcher
|
|
healthcheck:
|
|
disable: true
|
|
environment:
|
|
APP_HOST: ${APP_HOST:-0.0.0.0}
|
|
APP_PORT: 8080
|
|
APP_ENV: ${APP_ENV:-lab}
|
|
OTEL_SERVICE_NAME: messenger-dispatcher
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: deployment.environment.name=lab
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
|
DB_TIMEOUT_MS: ${DB_TIMEOUT_MS:-3000}
|
|
DB_MAX_CONNS: ${DB_MAX_CONNS:-10}
|
|
GOMEMLIMIT: 1200MiB
|
|
S3_ENDPOINT: https://s3:9000
|
|
S3_REGION: us-east-1
|
|
S3_BUCKET: messenger-attachments
|
|
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
|
|
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-60}
|
|
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
|
|
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
|
|
CLEANUP_GRACE_SECONDS: ${CLEANUP_GRACE_SECONDS:-3600}
|
|
INSTANCE_ID: dispatcher-1
|
|
TLS_CA_FILE: /run/ca/ca.crt
|
|
TLS_CERT_FILE: /run/tls/cert.crt
|
|
TLS_KEY_FILE: /run/tls/key.key
|
|
TLS_SERVER_NAME: dispatcher
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_ROLE: dispatcher
|
|
SSL_CERT_FILE: /run/ca/ca.crt
|
|
secrets: []
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
broker:
|
|
condition: service_healthy
|
|
openbao:
|
|
condition: service_started
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
db-grants:
|
|
condition: service_completed_successfully
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
volumes:
|
|
- ./secrets/tls/dispatcher:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
worker:
|
|
image: mtusi-lab7-worker:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/Dockerfile.worker
|
|
additional_contexts:
|
|
application: service:migrate
|
|
command:
|
|
- worker
|
|
environment:
|
|
APP_HOST: ${APP_HOST:-0.0.0.0}
|
|
APP_PORT: 8080
|
|
APP_ENV: ${APP_ENV:-lab}
|
|
OTEL_SERVICE_NAME: messenger-worker
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: deployment.environment.name=lab
|
|
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
|
|
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
|
DB_TIMEOUT_MS: ${DB_TIMEOUT_MS:-3000}
|
|
DB_MAX_CONNS: ${DB_MAX_CONNS:-10}
|
|
GOMEMLIMIT: 128MiB
|
|
S3_ENDPOINT: https://s3:9000
|
|
S3_REGION: us-east-1
|
|
S3_BUCKET: messenger-attachments
|
|
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
|
|
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-60}
|
|
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
|
|
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
|
|
CLEANUP_GRACE_SECONDS: ${CLEANUP_GRACE_SECONDS:-3600}
|
|
INSTANCE_ID: worker-1
|
|
TLS_CA_FILE: /run/ca/ca.crt
|
|
TLS_CERT_FILE: /run/tls/cert.crt
|
|
TLS_KEY_FILE: /run/tls/key.key
|
|
TLS_SERVER_NAME: worker
|
|
BAO_ADDR: https://openbao:8200
|
|
BAO_ROLE: worker
|
|
SSL_CERT_FILE: /run/ca/ca.crt
|
|
secrets: []
|
|
networks:
|
|
- backend
|
|
tmpfs:
|
|
- /tmp:size=128m,mode=1777
|
|
depends_on:
|
|
dispatcher:
|
|
condition: service_started
|
|
openbao:
|
|
condition: service_started
|
|
s3-init:
|
|
condition: service_completed_successfully
|
|
db-grants:
|
|
condition: service_completed_successfully
|
|
init: true
|
|
restart: unless-stopped
|
|
stop_grace_period: 5s
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '1.00'
|
|
memory: 1536M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
volumes:
|
|
- ./secrets/tls/worker:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
healthcheck:
|
|
disable: true
|
|
nginx:
|
|
image: mtusi-lab7-lb:local
|
|
command:
|
|
- /bin/sh
|
|
- /health-aware.sh
|
|
volumes:
|
|
- ./infra/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./infra/health-aware.sh:/health-aware.sh:ro
|
|
- ./secrets/tls/lb:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
- frontend
|
|
depends_on:
|
|
api1:
|
|
condition: service_healthy
|
|
api2:
|
|
condition: service_healthy
|
|
ports:
|
|
- 127.0.0.1:${APP_PORT:-8443}:8443
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- curl -fsS --cacert /run/ca/ca.crt https://localhost:8443/health/ready >/dev/null
|
|
interval: 3s
|
|
timeout: 2s
|
|
retries: 20
|
|
restart: unless-stopped
|
|
stop_grace_period: 5s
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m
|
|
- /run:size=8m,uid=101,gid=101
|
|
- /var/cache/nginx:size=32m,uid=101,gid=101
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.lb
|
|
user: 101:101
|
|
otel-collector:
|
|
image: otel/opentelemetry-collector-contrib:0.136.0
|
|
command:
|
|
- --config=/etc/otelcol/config.yaml
|
|
volumes:
|
|
- ./infra/otel/collector.yaml:/etc/otelcol/config.yaml:ro
|
|
- ./secrets/tls/otel-collector:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.50'
|
|
memory: 256M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
network_mode: service:tls-otel-collector
|
|
depends_on:
|
|
tls-otel-collector:
|
|
condition: service_started
|
|
healthcheck:
|
|
disable: true
|
|
prometheus:
|
|
image: prom/prometheus:v3.7.0
|
|
command:
|
|
- --config.file=/etc/prometheus/prometheus.yaml
|
|
- --storage.tsdb.path=/prometheus
|
|
- --storage.tsdb.retention.time=24h
|
|
- --web.listen-address=127.0.0.1:19090
|
|
volumes:
|
|
- ./infra/otel/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
|
- ./infra/otel/alerts.yaml:/etc/prometheus/alerts.yaml:ro
|
|
- prometheus_data:/prometheus
|
|
- ./secrets/tls/prometheus:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.50'
|
|
memory: 512M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
network_mode: service:tls-prometheus
|
|
depends_on:
|
|
tls-prometheus:
|
|
condition: service_started
|
|
loki:
|
|
image: grafana/loki:3.5.5
|
|
command:
|
|
- -config.file=/etc/loki/config.yaml
|
|
volumes:
|
|
- ./infra/otel/loki.yaml:/etc/loki/config.yaml:ro
|
|
- loki_data:/loki
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.50'
|
|
memory: 384M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
network_mode: service:tls-loki
|
|
depends_on:
|
|
tls-loki:
|
|
condition: service_started
|
|
tempo:
|
|
image: grafana/tempo:2.8.2
|
|
command:
|
|
- -config.file=/etc/tempo/config.yaml
|
|
volumes:
|
|
- ./infra/otel/tempo.yaml:/etc/tempo/config.yaml:ro
|
|
- tempo_data:/var/tempo
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.50'
|
|
memory: 384M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
network_mode: service:tls-tempo
|
|
depends_on:
|
|
tls-tempo:
|
|
condition: service_started
|
|
grafana:
|
|
image: grafana/grafana:12.2.0
|
|
environment:
|
|
GF_SECURITY_ADMIN_USER: admin
|
|
GF_SECURITY_ADMIN_PASSWORD__FILE: /run/secrets/grafana_admin_password
|
|
GF_USERS_ALLOW_SIGN_UP: 'false'
|
|
GF_ANALYTICS_REPORTING_ENABLED: 'false'
|
|
GF_ANALYTICS_CHECK_FOR_UPDATES: 'false'
|
|
GF_ANALYTICS_CHECK_FOR_PLUGIN_UPDATES: 'false'
|
|
GF_PLUGINS_PREINSTALL_DISABLED: 'true'
|
|
GF_AUTH_ANONYMOUS_ENABLED: 'false'
|
|
GF_SERVER_PROTOCOL: https
|
|
GF_SERVER_CERT_FILE: /run/tls/cert.crt
|
|
GF_SERVER_CERT_KEY: /run/tls/key.key
|
|
secrets:
|
|
- grafana_admin_password
|
|
volumes:
|
|
- ./infra/otel/grafana/provisioning:/etc/grafana/provisioning:ro
|
|
- ./infra/otel/grafana/dashboards:/var/lib/grafana/dashboards:ro
|
|
- grafana_data:/var/lib/grafana
|
|
- ./secrets/tls/grafana:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
ports:
|
|
- 127.0.0.1:${GRAFANA_PORT:-13000}:3000
|
|
networks:
|
|
- frontend
|
|
- backend
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.50'
|
|
memory: 384M
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=32m,mode=1777
|
|
entrypoint:
|
|
- /bin/sh
|
|
- -ec
|
|
- export TLS_CA_PEM="$$(cat /run/ca/ca.crt)" TLS_CERT_PEM="$$(cat /run/tls/cert.crt)"
|
|
TLS_KEY_PEM="$$(cat /run/tls/key.key)"; exec /run.sh
|
|
db-grants:
|
|
image: postgres:17.6-alpine3.22
|
|
entrypoint:
|
|
- /bin/sh
|
|
- /bootstrap/db-grants.sh
|
|
volumes:
|
|
- ./infra/security/db-grants.sh:/bootstrap/db-grants.sh:ro
|
|
- ./secrets/db-grants.sql:/bootstrap/db-grants.sql:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
environment:
|
|
PGSSLMODE: verify-full
|
|
PGSSLROOTCERT: /run/ca/ca.crt
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
migrate:
|
|
condition: service_completed_successfully
|
|
restart: 'no'
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=16m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
secrets:
|
|
- postgres_password
|
|
tls-redis:
|
|
image: mtusi-lab7-tls-proxy:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.proxy
|
|
environment:
|
|
PROXY_ROLE: redis
|
|
ALLOWED_IDENTITIES: api1,api2,operator
|
|
PORT_MAP: 6379:16379
|
|
volumes:
|
|
- ./secrets/tls/redis:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- redis
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 65532:65532
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
tls-broker:
|
|
image: mtusi-lab7-tls-proxy:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.proxy
|
|
environment:
|
|
PROXY_ROLE: broker
|
|
ALLOWED_IDENTITIES: api1,api2,dispatcher,worker,operator
|
|
PORT_MAP: 6379:16379
|
|
volumes:
|
|
- ./secrets/tls/broker:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- broker
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 65532:65532
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
tls-s3:
|
|
image: mtusi-lab7-tls-proxy:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.proxy
|
|
environment:
|
|
PROXY_ROLE: s3
|
|
ALLOWED_IDENTITIES: api1,api2,worker,dispatcher,cleanup,s3-init,operator
|
|
PORT_MAP: 9000:19000
|
|
volumes:
|
|
- ./secrets/tls/s3:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- s3
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 65532:65532
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
tls-otel-collector:
|
|
image: mtusi-lab7-tls-proxy:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.proxy
|
|
environment:
|
|
PROXY_ROLE: otel-collector
|
|
ALLOWED_IDENTITIES: api1,api2,worker,dispatcher,prometheus,operator
|
|
PORT_MAP: 4318:14318,8889:18889,8888:18888
|
|
PORT_IDENTITIES: '{"4318": ["api1", "api2", "worker", "dispatcher", "operator"],
|
|
"8888": ["prometheus", "operator"], "8889": ["prometheus", "operator"]}'
|
|
volumes:
|
|
- ./secrets/tls/otel-collector:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- otel-collector
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 65532:65532
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
tls-prometheus:
|
|
image: mtusi-lab7-tls-proxy:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.proxy
|
|
environment:
|
|
PROXY_ROLE: prometheus
|
|
ALLOWED_IDENTITIES: grafana,operator
|
|
PORT_MAP: 9090:19090
|
|
volumes:
|
|
- ./secrets/tls/prometheus:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- prometheus
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 65532:65532
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
tls-loki:
|
|
image: mtusi-lab7-tls-proxy:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.proxy
|
|
environment:
|
|
PROXY_ROLE: loki
|
|
ALLOWED_IDENTITIES: otel-collector,grafana,operator
|
|
PORT_MAP: 3100:13100
|
|
volumes:
|
|
- ./secrets/tls/loki:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- loki
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 65532:65532
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
tls-tempo:
|
|
image: mtusi-lab7-tls-proxy:local
|
|
build:
|
|
context: .
|
|
dockerfile: infra/security/Dockerfile.proxy
|
|
environment:
|
|
PROXY_ROLE: tempo
|
|
ALLOWED_IDENTITIES: otel-collector,grafana,operator
|
|
PORT_MAP: 4318:14318,3200:13200
|
|
PORT_IDENTITIES: '{"4318": ["otel-collector", "operator"], "3200": ["grafana",
|
|
"operator"]}'
|
|
volumes:
|
|
- ./secrets/tls/tempo:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- tempo
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 65532:65532
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 64M
|
|
openbao:
|
|
image: openbao/openbao:2.4.3
|
|
command:
|
|
- server
|
|
- -config=/bao/config/config.hcl
|
|
user: 65532:65532
|
|
volumes:
|
|
- ./infra/security/openbao.hcl:/bao/config/config.hcl:ro
|
|
- ./secrets/tls/openbao:/run/tls:ro
|
|
- ./secrets/public:/run/ca:ro
|
|
- bao_data:/bao/data
|
|
ports:
|
|
- 127.0.0.1:${BAO_PORT:-18200}:8200
|
|
networks:
|
|
- backend
|
|
- frontend
|
|
restart: unless-stopped
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
tmpfs:
|
|
- /tmp:size=16m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 256M
|
|
depends_on:
|
|
bao-volume-init:
|
|
condition: service_completed_successfully
|
|
bao-volume-init:
|
|
image: busybox:1.37.0-musl
|
|
command:
|
|
- chown
|
|
- 65532:65532
|
|
- /bao/data
|
|
volumes:
|
|
- bao_data:/bao/data
|
|
network_mode: none
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
restart: 'no'
|
|
read_only: true
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.10'
|
|
memory: 16M
|
|
redis-volume-init:
|
|
image: busybox:1.37.0-musl
|
|
command:
|
|
- chown
|
|
- 999:1000
|
|
- /data
|
|
volumes:
|
|
- redis_data:/data
|
|
network_mode: none
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
restart: 'no'
|
|
read_only: true
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.10'
|
|
memory: 16M
|
|
broker-volume-init:
|
|
image: busybox:1.37.0-musl
|
|
command:
|
|
- chown
|
|
- 999:1000
|
|
- /data
|
|
volumes:
|
|
- broker_data:/data
|
|
network_mode: none
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
restart: 'no'
|
|
read_only: true
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.10'
|
|
memory: 16M
|
|
audit:
|
|
image: mtusi-lab7-worker:local
|
|
profiles:
|
|
- audit
|
|
entrypoint:
|
|
- python3
|
|
- /security_internal.py
|
|
volumes:
|
|
- ./secrets/tls:/audit/tls:ro
|
|
- ./secrets/public:/audit/public:ro
|
|
- ./student-tests/security_internal.py:/security_internal.py:ro
|
|
networks:
|
|
- frontend
|
|
- backend
|
|
user: ${LOCAL_UID:-1000}:${LOCAL_GID:-1000}
|
|
read_only: true
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
tmpfs:
|
|
- /tmp:size=8m
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
secrets:
|
|
grafana_admin_password:
|
|
file: ./secrets/grafana_admin_password
|
|
postgres_password:
|
|
file: ./secrets/postgres_password
|
|
database_url:
|
|
file: ./secrets/database_url
|
|
s3_admin_access:
|
|
file: ./secrets/s3_admin_access
|
|
s3_admin_secret:
|
|
file: ./secrets/s3_admin_secret
|
|
broker_operator:
|
|
file: ./secrets/broker_operator
|
|
redis_operator:
|
|
file: ./secrets/redis_operator
|
|
volumes:
|
|
prometheus_data: null
|
|
loki_data: null
|
|
tempo_data: null
|
|
grafana_data: null
|
|
broker_data: null
|
|
postgres_data: null
|
|
redis_data: null
|
|
minio_data: null
|
|
bao_data: {}
|
|
networks:
|
|
frontend: null
|
|
backend:
|
|
internal: true
|