27 lines
733 B
YAML
27 lines
733 B
YAML
# Isolated database-free Contact runtime. No SWAG, production env or outbound 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
|
|
EMAIL_DELIVERY_ENABLED: 'false'
|
|
CONTACT_TRUST_PROXY: 'true'
|
|
command: [gunicorn, --bind, '0.0.0.0:5000', --workers, '1', --timeout, '20', contact_app: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'
|