원 레포랑 완전 분리

This commit is contained in:
ai-cell-a100-1
2025-08-11 18:56:38 +09:00
commit 7217d3cbaa
86 changed files with 6631 additions and 0 deletions

61
docker-compose_8888.yml Normal file
View File

@@ -0,0 +1,61 @@
services:
pgn_api:
build:
context: .
image: pgn_api
container_name: pgn_api_8888
volumes:
- ./:/workspace
ports:
- "8888:8888"
env_file:
- .env
environment:
- TZ=Asia/Seoul
stdin_open: true
restart: always
tty: true
networks:
- pgn_net
- monitor_net
depends_on:
pgn_redis:
condition: service_healthy
healthcheck:
test:
[
"CMD-SHELL",
"curl -f http://localhost:8888/health/API && curl -f http://localhost:8888/health/Redis && curl -f http://localhost:8888/health/MinIO",
]
interval: 60s
timeout: 5s
retries: 3
start_period: 10s
pgn_redis:
image: redis:7-alpine
container_name: pgn_redis
command:
[
"redis-server",
"--maxmemory",
"256mb",
"--maxmemory-policy",
"allkeys-lru",
]
ports:
- "6382:6379"
restart: always
networks:
- pgn_net
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
networks:
monitor_net:
driver: bridge
pgn_net:
external: true