12345678910111213141516171819202122232425262728 |
- version: '3'
- services:
- webview:
- volumes:
- - web-migrations:/opt/web2py/applications/webview/databases/
- environment:
- settings_backend_url: "${SETTINGS_BACKEND_URL}"
- smtp_server: "${smtp_server}"
- smtp_sender: "${smtp_sender}"
- smtp_login: "${smtp_login}"
- setup_done: "false"
- db_uri: "postgres://postgres:${POSTGRES_PASSWORD}@db/postgreswebview"
- WEB2PY_PASSWORD: "${setup_admin_password}"
- WEB2PY_ADMIN_SECURITY_BYPASS: "true"
- db_migrate: "true"
- settings_cors_allowed: '["${FRONTEND_URL}", "http://localhost:9000"]'
- image: "hub.botprotec.com/botpro/botpro-bantrab-webview:${VERSION_TAG}"
- command: uwsgi
- ports:
- - "${WEB_PORT}:9090"
- networks:
- default:
- external:
- name: backend_botpronet
- volumes:
- web-migrations:
|