66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"postgres": {
|
|
"image": "postgres:18.6-trixie@sha256:5a5a84b19854a9ffaa54082c166ff4ec27473a361e496e5ea167f298f2da9722",
|
|
"version": "18.6 (Debian 18.6-1.pgdg13+2)",
|
|
"settings": {
|
|
"checkpoint_timeout": "5min",
|
|
"fsync": "on",
|
|
"jit": "on",
|
|
"max_connections": "100",
|
|
"max_wal_size": "1GB",
|
|
"password_encryption": "scram-sha-256",
|
|
"shared_buffers": "128MB",
|
|
"synchronous_commit": "on",
|
|
"wal_level": "replica"
|
|
}
|
|
},
|
|
"valkey": {
|
|
"image": "valkey/valkey:9.1.2-trixie@sha256:418652cfb58ef879d4978c33553735d7147016032d5aefaa14c828e611eb9dfd",
|
|
"version": "9.1.2"
|
|
},
|
|
"haproxy": {
|
|
"image": "haproxy:3.4.6-trixie@sha256:e273915691a8eab3f105bf3e39fd4c29a4ecf334e33421903b5589d25e14db26"
|
|
},
|
|
"limits": {
|
|
"api": {
|
|
"nano_cpus": 1000000000,
|
|
"memory": 536870912,
|
|
"memory_swap": 536870912,
|
|
"published_ports": {}
|
|
},
|
|
"postgres": {
|
|
"nano_cpus": 2000000000,
|
|
"memory": 1073741824,
|
|
"memory_swap": 1073741824,
|
|
"published_ports": {}
|
|
},
|
|
"valkey": {
|
|
"nano_cpus": 500000000,
|
|
"memory": 134217728,
|
|
"memory_swap": 134217728,
|
|
"published_ports": {}
|
|
},
|
|
"haproxy": {
|
|
"nano_cpus": 1000000000,
|
|
"memory": 268435456,
|
|
"memory_swap": 268435456,
|
|
"published_ports": {}
|
|
}
|
|
},
|
|
"api_replicas": 3,
|
|
"app_env": {
|
|
"APP_HOST": "0.0.0.0",
|
|
"APP_PORT": "8080",
|
|
"CACHE_HOST": "valkey",
|
|
"CACHE_PORT": "6379",
|
|
"DB_HOST": "postgres",
|
|
"DB_NAME": "bench",
|
|
"DB_PORT": "5432",
|
|
"DB_USER": "bench",
|
|
"IDEMPOTENCY_TTL_SECONDS": "86400",
|
|
"LOG_LEVEL": "INFO",
|
|
"SESSION_TTL_SECONDS": "21600",
|
|
"SHUTDOWN_TIMEOUT": "5"
|
|
}
|
|
}
|