Skip to content

Commit

Permalink
Merge pull request #28 from pastalian/proxy-config
Browse files Browse the repository at this point in the history
Add env vars to set proxy for pulp
  • Loading branch information
zklevsha authored Jul 18, 2024
2 parents b750910 + bb20d00 commit 18bf0f3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/dev_deploy/templates/vars.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ PULP_INTERNAL_HOST="http://pulp"
PULP_USER="{{ pulp_user }}"
PULP_PASSWORD="{{ pulp_password }}"
PULP_DATABASE_URL="{{ pulp_database_url }}"
{% if pulp_proxy_url is defined and pulp_proxy_url %}
PULP_PROXY_URL="{{ pulp_proxy_url }}"
{% endif %}
{% if pulp_proxy_username is defined and pulp_proxy_username %}
PULP_PROXY_USERNAME="{{ pulp_proxy_username }}"
{% endif %}
{% if pulp_proxy_password is defined and pulp_proxy_password %}
PULP_PROXY_PASSWORD="{{ pulp_proxy_password }}"
{% endif %}
FASTAPI_SQLA__PULP__SQLALCHEMY_URL="{{ pulp_database_url }}"
FASTAPI_SQLA__PULP__SQLALCHEMY_POOL_PRE_PING=True
FASTAPI_SQLA__PULP__SQLALCHEMY_POOL_RECYCLE=3600
Expand Down

0 comments on commit 18bf0f3

Please sign in to comment.