Skip to content

Commit 28bf3cc

Browse files
authored
Merge pull request #1 from Nuxify/feature/upgrade-traefik-version
build: upgrade traefik version to 2.11.36
2 parents d31ffa3 + 054e2b9 commit 28bf3cc

2 files changed

Lines changed: 37 additions & 11 deletions

File tree

README.md

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,48 @@ Cloud-native networking stack that just works.
44

55
## Setup
66

7-
1. Clone https://github.com/Nuxify/traefik-setup.git
7+
1. Clone:
8+
> <https://github.com/Nuxify/traefik-setup.git>
89
9-
2. Create `./data/acme.json` and add permission (chmod 600)
10+
2. Create `./data/acme.json`:
1011

11-
3. Create `.env` (from .env.example) and provide correct values
12+
```bash
13+
touch ./data/acme.json
14+
```
1215

13-
4. For `AUTH_HTPASSWD`, run `echo $(htpasswd -nb <username> <password>)` (default is user=sudo, password=2m4Bf48k2JbO5bnh26uwoeXa0dZ)
16+
3. Set read and write permission:
1417

15-
5. Create the docker network: `docker network create proxy`
18+
```bash
19+
chmod 600 ./data/acme.json
20+
```
1621

17-
6. Up the network with `make up`
22+
4. Create `.env` (from .env.example) and provide correct values:
1823

19-
Refer to this good guide: https://medium.com/@containeroo/traefik-2-0-docker-a-simple-step-by-step-guide-e0be0c17cfa5
24+
```bash
25+
cp .env.example .env
26+
```
2027

21-
Traefik documentation: https://doc.traefik.io/traefik/
28+
5. For `AUTH_HTPASSWD` run:
29+
30+
```bash
31+
echo $(htpasswd -nb <username> <password>)
32+
# (default is user=sudo password=2m4Bf48k2JbO5bnh26uwoeXa0dZ)
33+
```
34+
35+
6. Create the docker network:
36+
37+
```bash
38+
docker network create proxy
39+
```
40+
41+
7. Up the network with:
42+
43+
```bash
44+
make up
45+
```
46+
47+
Refer to this good guide: <https://medium.com/@containeroo/traefik-2-0-docker-a-simple-step-by-step-guide-e0be0c17cfa5>
48+
49+
Traefik documentation: <https://doc.traefik.io/traefik/>
2250

2351
Made with ❤️ at [Nuxify](https://nuxify.tech)

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
version: "3.3"
2-
31
services:
42
traefik:
5-
image: traefik:v2.11.8
3+
image: traefik:v2.11.36
64
container_name: traefik
75
restart: unless-stopped
86
security_opt:

0 commit comments

Comments
 (0)