BS-007 Implement accepted Contact page and independent enquiry service

This commit is contained in:
rob
2026-11-10 19:45:11 +00:00
parent 21d048a1ff
commit 5bfb128e94
46 changed files with 837 additions and 145 deletions
+3 -5
View File
@@ -1,4 +1,4 @@
# Isolated manual-test runtime only. No SWAG, production env, external networks or mail.
# Isolated database-free Contact runtime. No SWAG, production env or outbound mail.
services:
api:
build:
@@ -8,11 +8,9 @@ services:
DEBUG: 'false'
APP_URL: http://127.0.0.1:18081
CORS_ORIGINS: http://127.0.0.1:18081
SQLALCHEMY_DATABASE_URI: sqlite:////tmp/testtask.sqlite
EMAIL_DELIVERY_ENABLED: 'false'
REGISTRATION_MODE: closed
SECRET_KEY: disposable-local-testtask-key-not-for-production
command: [sh, -c, 'flask --app api.py db upgrade && exec gunicorn --bind 0.0.0.0:5000 --workers 1 api:app']
CONTACT_TRUST_PROXY: 'true'
command: [gunicorn, --bind, '0.0.0.0:5000', --workers, '1', --timeout, '20', contact_app:app]
tmpfs:
- /tmp:mode=1777
ports: