Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Run service with prem-gateway network #159

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

sekulicd
Copy link
Contributor

@sekulicd sekulicd commented Oct 4, 2023

This runs prem-service on same network as prem-gateway.

@filopedraz please review.

@@ -229,6 +229,7 @@ def run_container_with_retries(service_object):
environment=env_variables,
device_requests=device_requests,
labels=labels, # Add this line
network="prem-gateway",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it the default bridge, and pass via ENV VAR a way to override this

@filopedraz filopedraz merged commit c0501b9 into main Oct 5, 2023
1 check passed
@filopedraz filopedraz deleted the run_service_with_correct_network branch October 5, 2023 07:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants