Skip to content

Conversation

@dneary
Copy link
Contributor

@dneary dneary commented Sep 30, 2025

Move ollama and webui containers to a public bridge network, expose port 7861 to allow Internet connections to the service, and set host name to container name for communication.

Adding the containers to a bridge network is best practice. The port 11434 does not need to be exposed to the Internet. Finally, the port 7861 does need to be exposed.

In addition, the host firewall will need to have IP Masquerading turned on to allow the ollama container to connect to the model registry, and the host's ethernet device needs to be added to the "devices" field for the public firewalld zone. I will propose a separate change in the README for these steps.

To enable the WebUI to start the ollama service, the container needs to be rebuilt to include this compose.yaml.

Clarified Docker installation instructions and added details about firewall configuration for NAT traffic. Updated commands and added comments for better understanding.
@isubrama isubrama merged commit aab50f9 into AmpereComputingAI:main Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants