Add a deployment script

This commit is contained in:
Rafi
2023-03-04 22:52:26 +08:00
parent 002db29717
commit 03512e8c7e
2 changed files with 51 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ services:
backend-wsgi-server:
image: wongsaang/chatgpt-ui-wsgi-server:latest
environment:
- APP_DOMAIN=${APP_DOMAIN:-localhost:9000}
# - DB_URL=postgres://postgres:postgrespw@localhost:49153/chatgpt # 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
- DJANGO_SUPERUSER_PASSWORD=password # default superuser password