From d9caaefdef736e2cab51dcc482cd600f9632c54b Mon Sep 17 00:00:00 2001 From: Rafi Date: Fri, 14 Apr 2023 12:52:06 +0800 Subject: [PATCH] updated docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 652ce09..cbc8a20 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: - APP_DOMAIN=${APP_DOMAIN:-localhost: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=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. + - 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 - DJANGO_SUPERUSER_PASSWORD=password # default superuser password - DJANGO_SUPERUSER_EMAIL=admin@example.com # default superuser email