Skip to content

Commit

Permalink
Define worker env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
shaldengeki committed Feb 27, 2024
1 parent 16736f9 commit 1183a8b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/python/fitbit_challenges/worker/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ py_oci_image(
base = "@python3_image",
binary = ":binary",
entrypoint = ["/src/python/fitbit_challenges/worker/binary"],
env = {
"FLASK_APP": "app.py",
"FLASK_DEBUG": "True",
"API_PORT": "5000",
"FRONTEND_PROTOCOL": "http",
"FRONTEND_HOST": "frontend",
"FRONTEND_PORT": "5001",
"DB_HOST": "pg",
"DB_USERNAME": "admin",
"DB_PASSWORD": "development",
"DATABASE_NAME": "api_development",
"FITBIT_CLIENT_ID": "testing",
"FITBIT_CLIENT_SECRET": "testing",
"FITBIT_VERIFICATION_CODE": "testing",
"FLASK_SECRET_KEY": "testing",
},
)

platform(
Expand Down

0 comments on commit 1183a8b

Please sign in to comment.