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

Updated traefik to 2.11.3 #5

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "docker" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
target-branch: "main"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
3 changes: 1 addition & 2 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'
networks:
routing:
ipam:
Expand All @@ -7,7 +6,7 @@ networks:
- subnet: 10.100.100.0/24
services:
traefik:
image: traefik:2.11.0
image: traefik:2.11.3
restart: always
container_name: reverse_proxy_traefik
ports:
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
version: '3.8'
networks:
routing:
driver: bridge
services:
traefik:
image: traefik:2.11.0
image: traefik:2.11.3
restart: always
container_name: reverse_proxy_traefik
ports:
Expand Down
21 changes: 11 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ It uses:
- [Production setup](#production-setup)
- [Setting up traefik](#setting-up-traefik)
- [Traefik dashboard](#traefik-dashboard)
- [Connect docker-compose service to reverse-proxy](#connect-docker-compose-service-to-reverse-proxy)
- [Connect docker compose service to reverse-proxy](#connect-docker-compose-service-to-reverse-proxy)
- [SSL configuration](#ssl-configuration)
- [Global middlewares](#global-middlewares)
- [Access Logs](#access-logs)
- [Setup for local development](#setup-for-local-development)
- [Setting up traefik](#setting-up-traefik-1)
- [Traefik dashboard](#traefik-dashboard-1)
- [Connect docker-compose service to reverse-proxy](#connect-docker-compose-service-to-reverse-proxy-1)
- [Connect docker compose service to reverse-proxy](#connect-docker-compose-service-to-reverse-proxy-1)
- [Enable SSL locally](#enable-ssl-locally)
- [Enable SSL in the docker-compose file](#enable-ssl-in-the-docker-compose-file)
- [Enable SSL in the docker compose file](#enable-ssl-in-the-docker-compose-file)
- [FAQ](#faq)
- [Credits](#credits)
- [License](#license)

Expand Down Expand Up @@ -79,11 +80,11 @@ It uses:
```
6. Start container
```bash
docker-compose up -d
docker compose up -d
```
7. Check that traefik is running smoothly
```bash
docker-compose logs
docker compose logs
```

### Traefik dashboard
Expand All @@ -94,7 +95,7 @@ https://reverse-proxy.somedomain.com
```
The dashboard shows you the configured routers, services, middleware, etc.

### Connect docker-compose service to reverse-proxy
### Connect docker compose service to reverse-proxy

```yaml
version: '3.8'
Expand Down Expand Up @@ -235,11 +236,11 @@ accessLog: {}
```
4. Start container
```bash
docker-compose up -d
docker compose up -d
```
5. Check that traefik is running smoothly
```bash
docker-compose logs
docker compose logs
```

### Traefik dashboard
Expand All @@ -250,7 +251,7 @@ http://reverse-proxy.test
```
The dashboard shows you the configured routers, services, middlewares, etc.

### Connect docker-compose service to reverse-proxy
### Connect docker compose service to reverse-proxy

```yaml
version: '3.8'
Expand Down Expand Up @@ -323,7 +324,7 @@ cd certificates
mkcert -key-file local.key.pem -cert-file local.cert.pem "*.local" "*.test" "*.someservice.test" "*.someservice.local"
```

### Enable SSL in the docker-compose file
### Enable SSL in the docker compose file

```yaml
version: '3.8'
Expand Down