docker-compose.yml 932 B

1234567891011121314151617181920212223242526272829
  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. UWSGI_OPTIONS: '-M -T -i -p 4 -t 60'
  18. image: "hub.botprotec.com/botpro/botpro-bantrab-webview:${VERSION_TAG}"
  19. command: uwsgi
  20. ports:
  21. - "${WEB_PORT}:9090"
  22. networks:
  23. default:
  24. external:
  25. name: backend_botpronet
  26. volumes:
  27. web-migrations: