mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
35 lines
775 B
YAML
35 lines
775 B
YAML
version: "3.9"
|
|
services:
|
|
chatgpt-next-web:
|
|
container_name: chatgpt-next-web
|
|
# image: yidadaa/chatgpt-next-web
|
|
restart: always
|
|
image: registry.cn-hangzhou.aliyuncs.com/si-private/chatgpt-next-web
|
|
# image: registry.cn-hangzhou.aliyuncs.com/sijinhui/chatgpt-next-web
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
# depends_on:
|
|
# db:
|
|
# condition: service_healthy
|
|
# ports:
|
|
# - "127.0.0.1:23000:23000"
|
|
network_mode: "host"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
# networks:
|
|
# - chatgpt-ns
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "1"
|
|
|
|
#networks:
|
|
# chatgpt-ns:
|
|
# external: true
|