docker-compose.yml 885 B

12345678910111213141516171819202122232425262728
  1. version: '3'
  2. services:
  3. webview:
  4. volumes:
  5. - web-migrations:/opt/web2py/applications/webview/databases/
  6. environment:
  7. settings_backend_url: "${SETTINGS_BACKEND_URL}"
  8. smtp_server: "${smtp_server}"
  9. smtp_sender: "${smtp_sender}"
  10. smtp_login: "${smtp_login}"
  11. setup_done: "false"
  12. db_uri: "postgres://postgres:${POSTGRES_PASSWORD}@db/postgreswebview"
  13. WEB2PY_PASSWORD: "${setup_admin_password}"
  14. WEB2PY_ADMIN_SECURITY_BYPASS: "true"
  15. db_migrate: "true"
  16. settings_cors_allowed: '["${FRONTEND_URL}", "http://localhost:9000"]'
  17. image: "hub.botprotec.com/botpro/botpro-bantrab-webview:${VERSION_TAG}"
  18. command: uwsgi
  19. ports:
  20. - "${WEB_PORT}:9090"
  21. networks:
  22. default:
  23. external:
  24. name: backend_botpronet
  25. volumes:
  26. web-migrations: