타임아웃 조건 완화 등

This commit is contained in:
Lectom C Han
2025-12-09 15:49:15 +09:00
parent 2d3345bb6d
commit c4bb3525d3
2 changed files with 19 additions and 4 deletions

View File

@@ -12,9 +12,11 @@ services:
- PORT=${PORT:-8080}
- GEOIP_DB_PATH=${GEOIP_DB_PATH:-/data/GeoLite2-City.mmdb}
- GEOIP_BACKEND=${GEOIP_BACKEND:-mmdb}
- GEOIP_LOADER_TIMEOUT=${GEOIP_LOADER_TIMEOUT:-30m}
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST:-db}:${POSTGRES_PORT:-5432}/${POSTGRES_DB}?sslmode=disable
command: >
sh -c '
set -e;
if [ "${GEOIP_BACKEND}" = "postgres" ]; then
echo "[api] running geoip-loader before api start";
geoip-loader;