I success to deploy metabase to app engine flex & cloud sql (postgreSQL version: 12).
app.yaml
runtime: custom
service: my-service-name
env: flex
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 1
disk_size_gb: 10
readiness_check:
path: "/api/health"
check_interval_sec: 5
timeout_sec: 5
failure_threshold: 2
success_threshold: 2
app_start_timeout_sec: 600
beta_settings:
cloud_sql_instances: lixil-datalake-dev:asia-northeast1:metabase-pgdb=tcp:5432
env_variables:
MB_DB_DBNAME: 'mydbname'
MB_DB_TYPE: 'postgres'
MB_DB_HOST: '172.17.0.1'
MB_DB_PORT: '5432'
MB_DB_USER: 'myusername'
MB_DB_PASS: 'mypass'
MB_JETTY_PORT: '8080'
Dockerfile:
FROM Google Cloud console
EXPOSE 8080
ENV JAVA_OPTS "-XX:+IgnoreUnrecognizedVMOptions -Dfile.encoding=UTF-8 --add-opens=java.base/java.net=ALL-UNNAMED --add-modules=java.xml.bind"
ENV JAVA_TOOL_OPTIONS "-Xmx1g"
ADD https://downloads.metabase.com/v0.43.0/metabase.jar $APP_DESTINATION
On Welcome to Metabase setup screen, I cannot pass to next screen even I input all information.
On dev tool in networking tab, it seem cannot get setup session token
My app engine have set up IAP but i think this is not a reason.
Please any help for this case, thanks you!