BS-001 Initialize BortStack foundation and project workflow

This commit is contained in:
rob
2026-11-10 14:02:50 +00:00
parent 1ec90a082f
commit 52265961cb
119 changed files with 10298 additions and 64 deletions
+28
View File
@@ -0,0 +1,28 @@
# Isolated manual-test runtime only. No SWAG, production env, external networks or mail.
services:
api:
build:
context: ${ROBORTO_WORKTREE}/api
environment:
APP_ENV: development
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']
tmpfs:
- /tmp:mode=1777
ports:
- '127.0.0.1:15001:5000'
web:
depends_on:
api:
condition: service_started
build:
context: ${ROBORTO_WORKTREE}
dockerfile: nginx/Dockerfile
ports:
- '127.0.0.1:18081:80'