runtime: custom | |
env: flex | |
entrypoint: find ${VIRTUAL_ENV}/lib/python3.8/site-packages/streamlit -type f \( -iname \*.py -o -iname \*.js \) -print0 | xargs -0 sed -i 's/healthz/health-check/g' && streamlit run app.py --server.port $PORT --server.enableCORS=false | |
automatic_scaling: | |
min_num_instances : 1 | |
max_num_instances : 7 | |
network: | |
session_affinity: true | |