Status: WIP
services:
aichat-proxy:
image: ghcr.io/starudream/aichat-proxy:develop
container_name: aichat-proxy
hostname: aichat
restart: always
healthcheck:
test: [ "CMD-SHELL", "test -z \"$(supervisorctl status | awk '{print $2}' | grep -v 'RUNNING')\" || exit 1" ]
interval: 10s
timeout: 5s
retries: 3
start_period: 30s
ports:
- "9540:9540"
- "9560:9560"
volumes:
- "./aichat-proxy/.env:/app/.env:ro"
- "./aichat-proxy/certs:/app/certs"
- "./aichat-proxy/userdata:/app/userdata"
environment:
- HTTP_PROXY=http://10.10.10.10:7890
- HTTPS_PROXY=http://10.10.10.10:7890