chore: initial import

This commit is contained in:
phamnazage-jpg
2026-05-12 17:47:32 +08:00
commit fc54ba84b2
104 changed files with 11575 additions and 0 deletions

53
docker-compose.podman.yml Normal file
View File

@@ -0,0 +1,53 @@
services:
postgres:
image: docker.io/library/postgres:16-alpine
container_name: ai-ops-podman-postgres
environment:
POSTGRES_USER: aiops
POSTGRES_PASSWORD: aiops123
POSTGRES_DB: ai_ops
ports:
- "15432:5432"
volumes:
- podman_postgres_data:/var/lib/postgresql/data
- ./tech/migrations:/docker-entrypoint-initdb.d:ro
healthcheck:
test: ["CMD-SHELL", "pg_isready -U aiops -d ai_ops"]
interval: 5s
timeout: 5s
retries: 10
redis:
image: docker.io/library/redis:8-alpine
container_name: ai-ops-podman-redis
ports:
- "16379:6379"
volumes:
- podman_redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 10
ai-ops:
image: docker.io/library/alpine:3.19
container_name: ai-ops-podman-app
working_dir: /app
command: ["/app/ai-ops"]
ports:
- "18080:8080"
environment:
AI_OPS_CONFIG: /app/config.yaml
volumes:
- ./ai-ops-static:/app/ai-ops:ro
- ./config.podman.yaml:/app/config.yaml:ro
- ./static:/app/static:ro
depends_on:
- postgres
- redis
restart: unless-stopped
volumes:
podman_postgres_data:
podman_redis_data: