Skip to content

Commit

Permalink
Merge pull request #1 from mhupfauer/patch-1
Browse files Browse the repository at this point in the history
Fixed traefik missing network
  • Loading branch information
alxlion authored Aug 29, 2024
2 parents c43872a + aa3f235 commit a592589
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions self-hosting/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:443"
- "--entrypoints.websecure.address=:443"
- "--certificatesresolvers.myresolver.acme.tlschallenge=true"
- "--certificatesresolvers.myresolver.acme.email=youremail@example.com"
- "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json"
Expand All @@ -68,6 +68,8 @@ services:
ports:
- "80:80"
- "443:443"
networks:
- claper-net
```
Make sure to replace `[email protected]` with your email address. This is important for SSL certificate generation.
Expand All @@ -82,7 +84,7 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.app.rule=Host(`claper.example.com`)"
- "traefik.http.routers.app.tls.certresolver=myresolver"
- "traefik.http.routers.app.entrypoints=web"
- "traefik.http.routers.app.entrypoints=websecure"
- "traefik.http.services.app.loadbalancer.server.port=4000"
```
Expand Down

0 comments on commit a592589

Please sign in to comment.