2025-12-30 16:52:20 +08:00
|
|
|
services:
|
|
|
|
|
aida_server:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
working_dir: /app
|
|
|
|
|
volumes:
|
|
|
|
|
- ./app:/app/app
|
|
|
|
|
- ./.env_prod:/app/.env
|
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
|
- ./seg_cache:/seg_cache
|
|
|
|
|
ports:
|
2026-01-06 12:00:58 +08:00
|
|
|
- "10200:80"
|
|
|
|
|
depends_on:
|
|
|
|
|
- redis
|
|
|
|
|
redis:
|
|
|
|
|
image: redis
|
|
|
|
|
container_name: aida_redis
|
|
|
|
|
restart: always
|
|
|
|
|
ports:
|
|
|
|
|
- "6400:6379"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./redis/data:/data
|
|
|
|
|
- ./redis/conf/redis.conf:/etc/redis/redis.conf
|
|
|
|
|
command: redis-server /etc/redis/redis.conf --appendonly yes
|