Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Nginx and Certbot with Traefik in Docker Compose #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yurzs
Copy link
Owner

@Yurzs Yurzs commented Dec 24, 2024

Replace Nginx and Certbot with Traefik in Docker Compose configuration.

  • Remove nginx and certbot services from docker-compose.yml and .docker/docker-compose.yml.
  • Add traefik service in docker-compose.yml and .docker/docker-compose.yml with Docker labels for HTTP and HTTPS routing.
  • Define the hostname for Traefik using the ${DOMAIN_NAME} environment variable.
  • Add labels to ollama-x-app for Traefik.
  • Remove the 8000:8000 port mapping from ollama-x-app.
  • Add Docker socket mount to traefik service.
  • Add rule to redirect web to websecure.
  • Delete nginx/proxy.conf and nginx/template-variables.conf.

Replace Nginx and Certbot with Traefik in Docker Compose configuration.

* Remove `nginx` and `certbot` services from `docker-compose.yml` and `.docker/docker-compose.yml`.
* Add `traefik` service in `docker-compose.yml` and `.docker/docker-compose.yml` with Docker labels for HTTP and HTTPS routing.
* Define the hostname for Traefik using the `${DOMAIN_NAME}` environment variable.
* Add labels to `ollama-x-app` for Traefik.
* Remove the `8000:8000` port mapping from `ollama-x-app`.
* Add Docker socket mount to `traefik` service.
* Add rule to redirect web to websecure.
* Delete `nginx/proxy.conf` and `nginx/template-variables.conf`.
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.

1 participant