fix bug in initial db creation caused by prometheus lib rtying to access tables at load time
This commit is contained in:
parent
6b0def543c
commit
d80fb60afd
8 changed files with 41 additions and 33 deletions
|
@ -1,3 +1,4 @@
|
|||
name: c3lf-sys3-dev
|
||||
services:
|
||||
core:
|
||||
build:
|
||||
|
@ -6,11 +7,12 @@ services:
|
|||
command: bash -c 'python manage.py migrate && python testdata.py && python manage.py runserver 0.0.0.0:8000'
|
||||
environment:
|
||||
- HTTP_HOST=core
|
||||
- DB_FILE=dev.db
|
||||
- DB_FILE=.local/dev.db
|
||||
- DEBUG_MODE_ACTIVE=true
|
||||
volumes:
|
||||
- ../../core:/code
|
||||
- ../testdata.py:/code/testdata.py
|
||||
- ../../core:/code:ro
|
||||
- ../testdata.py:/code/testdata.py:ro
|
||||
- backend_context:/code/.local
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
|
@ -20,10 +22,12 @@ services:
|
|||
dockerfile: ../deploy/dev/Dockerfile.frontend
|
||||
command: npm run serve
|
||||
volumes:
|
||||
- ../../web:/web:ro
|
||||
- /web/node_modules
|
||||
- ../../web/src:/web/src
|
||||
- ./vue.config.js:/web/vue.config.js
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- core
|
||||
|
||||
volumes:
|
||||
backend_context:
|
Loading…
Add table
Add a link
Reference in a new issue