added a check in the make_reply function to ensure that mails have a body
All checks were successful
/ test (push) Successful in 55s
/ test (pull_request) Successful in 52s

This commit is contained in:
bton 2024-12-04 22:57:12 +01:00
parent 8a181f7fa5
commit c056e6880f
20 changed files with 9636 additions and 53 deletions

View file

@ -3,20 +3,16 @@ services:
build:
context: ../../core
dockerfile: ../deploy/dev/Dockerfile.backend
command: bash -c 'python manage.py migrate && python manage.py runserver 0.0.0.0:8000'
command: bash -c 'python manage.py migrate && python testdata.py && python manage.py runserver 0.0.0.0:8000'
environment:
- HTTP_HOST=core
- DB_HOST=db
- DB_PORT=3306
- DB_NAME=system3
- DB_USER=system3
- DB_PASSWORD=system3
- DB_FILE=dev.db
- DEBUG_MODE_ACTIVE=true
volumes:
- ../../core:/code
- ../testdata.py:/code/testdata.py
ports:
- "8000:8000"
depends_on:
- db
frontend:
build:
@ -31,18 +27,3 @@ services:
- "8080:8080"
depends_on:
- core
db:
image: mariadb
environment:
MARIADB_RANDOM_ROOT_PASSWORD: true
MARIADB_DATABASE: system3
MARIADB_USER: system3
MARIADB_PASSWORD: system3
volumes:
- mariadb_data:/var/lib/mysql
ports:
- "3306:3306"
volumes:
mariadb_data: