Skip to content

Replace Nginx and Certbot with Traefik in Docker Compose#6

Open
Yurzs wants to merge 1 commit into
masterfrom
replace-nginx-certbot-with-traefik
Open

Replace Nginx and Certbot with Traefik in Docker Compose#6
Yurzs wants to merge 1 commit into
masterfrom
replace-nginx-certbot-with-traefik

Conversation

@Yurzs

@Yurzs Yurzs commented Dec 24, 2024

Copy link
Copy Markdown
Owner

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