-
-
Notifications
You must be signed in to change notification settings - Fork 166
/
docker-compose.yml
33 lines (32 loc) · 1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3'
services:
wsgi-server:
build:
context: .
target: wsgi-server
environment:
APP_DOMAIN: localhost:9000
WORKER_TIMEOUT: 180
DJANGO_SUPERUSER_USERNAME: admin # default superuser name
DJANGO_SUPERUSER_PASSWORD: password # default superuser password
DJANGO_SUPERUSER_EMAIL: admin@example.com # default superuser email
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".
DB_URL: ${DB_URL:-sqlite:///db.sqlite3}
ports:
- '8000:8000'
networks:
- chatgpt-ui_network
web-server:
build:
context: .
environment:
- BACKEND_URL=http://wsgi-server:8000
ports:
- '9000:80'
depends_on:
- wsgi-server
networks:
- chatgpt-ui_network
networks:
chatgpt-ui_network:
driver: bridge