Update Home

2026-06-11 14:12:38 -04:00
parent 29c285783c
commit 14d9fbafba
+2 -38
@@ -6,45 +6,9 @@ I created another script to download and install both Docker and Docker-Compose.
Edit the folling if you use the docker compose file Edit the folling if you use the docker compose file
`volumes: Under Traefik service edit the email to match your email
redis_data:
driver: local
redis:
driver: local
letsencrypt:
driver: local
phpmyadmin:
driver: local
services:
traefik:
image: traefik:latest
container_name: Proxy
restart: unless-stopped
command:
- "--log.level=DEBUG"
- "--accesslog=true"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=true"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--certificatesresolvers.myresolver.acme.httpchallenge=true"
- "--certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=web"
- "--certificatesresolvers.myresolver.acme.email=**enteryour@email.com**" - "--certificatesresolvers.myresolver.acme.email=**enteryour@email.com**"
- "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json" Also under Traefik set the location
ports:
- 80:80
- 443:443
- 8081:8080
networks:
- web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- letsencrypt:/letsencrypt
- **/some/local/location**/Traefik/acme.json:/acme.json - **/some/local/location**/Traefik/acme.json:/acme.json
- **/some/local/location**/Traefik/files/:/etc/traefik/traefik.yml - **/some/local/location**/Traefik/files/:/etc/traefik/traefik.yml