ChatGPT-Next-Web/docker-compose.yml
sijinhui 486692c5a9 123
2024-06-24 22:40:55 +08:00

34 lines
690 B
YAML

version: "3.9"
services:
chatgpt-next-web:
container_name: chatgpt-next-web
# image: yidadaa/chatgpt-next-web
restart: always
image: registry.gitlab.si.icu/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