# 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'