A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
DEBUG=${DEBUG:-True} # Whether to enable debug mode, default False
APP_DOMAIN=${APP_DOMAIN:-ai.jmao.top:9000}
SERVER_WORKERS=3 # The number of worker processes for handling requests.
WORKER_TIMEOUT=180 # Workers silent for more than this many seconds are killed and restarted. default 180s
DB_URL=${DB_URL:-sqlite:///db.sqlite3} # If this parameter is not set, the built-in Sqlite will be used by default. It should be noted that if you do not connect to an external database, the data will be lost after the container is destroyed.
DJANGO_SUPERUSER_USERNAME=admin # default superuser name
ACCOUNT_EMAIL_VERIFICATION=${ACCOUNT_EMAIL_VERIFICATION:-none} # Determines the e-mail verification method during signup – choose one of "none", "optional", or "mandatory". Default is "optional". If you don't need to verify the email, you can set it to "none".
If you want to use the email verification function, you need to configure the following parameters
不知哪里出了问题,不太懂docker
cat docker-compose.yml version: '3' services: client: platform: linux/x86_64 image: wongsaang/chatgpt-ui-client:latest environment:
- NUXT_PUBLIC_APP_NAME='ChatGPT UI' # The name of the application
- NUXT_PUBLIC_TYPEWRITER=true # Whether to enable the typewriter effect, default false
- NUXT_PUBLIC_TYPEWRITER_DELAY=50 # The delay time of the typewriter effect, default 50ms
depends_on:
If you want to use the email verification function, you need to configure the following parameters
- EMAIL_HOST=SMTP server address
- EMAIL_PORT=SMTP server port
- EMAIL_HOST_USER=
- EMAIL_HOST_PASSWORD=
- EMAIL_USE_TLS=True
- EMAIL_FROM=no-reply@example.com #Default sender email address
ports:
networks: chatgpt_ui_network: driver: bridge