f
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
command: >
|
||||
sh -c "cd lmsege &&
|
||||
python manage.py makemigrations users lms &&
|
||||
python manage.py migrate &&
|
||||
python manage.py collectstatic --noinput &&
|
||||
gunicorn --bind 0.0.0.0:8000 lmsege.wsgi:application"
|
||||
volumes:
|
||||
- .:/app
|
||||
- db-data:/app/lmsege/db_data
|
||||
- media-data:/app/lmsege/media
|
||||
- static-data:/app/lmsege/staticfiles
|
||||
ports:
|
||||
- "8000:8000"
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
media-data:
|
||||
static-data:
|
||||
Reference in New Issue
Block a user