fix bug in initial db creation caused by prometheus lib rtying to access tables at load time
All checks were successful
/ test (push) Successful in 2m27s
/ deploy (push) Successful in 3m22s

This commit is contained in:
j3d1 2025-03-09 18:47:59 +01:00
parent 6b0def543c
commit d80fb60afd
8 changed files with 41 additions and 33 deletions

View file

@ -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: