You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
525 B
20 lines
525 B
version: "3"
|
|
services:
|
|
api2gpt-mid:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: api2gpt-mid
|
|
environment:
|
|
# 时区上海
|
|
TZ: Asia/Shanghai
|
|
REDIS_ADDRESS: 172.17.0.1:6379
|
|
REDIS_CONN_STRING: redis://@172.17.0.1:6379/0?dial_timeout=5s
|
|
SERVER_API_USAGE_RECORD_STRING: http://172.17.0.1:8080/other/usageRecord
|
|
privileged: true
|
|
restart: always
|
|
command: --port 8080 --log-dir /app/logs
|
|
ports:
|
|
- 8083:8080
|
|
volumes:
|
|
- ./logs:/app/logs |