Add example project (#215)

* add example project

* format

* fix format
This commit is contained in:
Stan Triepels
2024-09-08 03:13:49 +02:00
committed by GitHub
parent af505e8d70
commit 2191897825
13 changed files with 272 additions and 15 deletions
+8 -3
View File
@@ -1,11 +1,16 @@
version: '3'
services:
web:
restart: always
command: python manage.py runserver 0.0.0.0:8000
command: bash -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
ports:
- "127.0.0.1:8000:8000"
build: .
volumes:
- .:/app
django-q:
restart: always
command: bash -c "python manage.py migrate && python manage.py qcluster"
build: .
volumes:
- .:/app