mirror of
https://github.com/getlago/lago.git
synced 2025-01-03 13:30:02 +07:00
chore(compose): add warning for insecure Traefik dashboard access and moving back docker-compose.yml
This commit is contained in:
parent
7b04442ce9
commit
d877971d54
@ -55,7 +55,12 @@ services:
|
|||||||
container_name: traefik
|
container_name: traefik
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command:
|
command:
|
||||||
- "--api.insecure=false"
|
# WARNING: It is strongly discouraged to use Traefik with "--api.insecure=true"
|
||||||
|
# as this exposes the Traefik dashboard publicly without any security measures,
|
||||||
|
# which can lead to unauthorized access and potential security risks.
|
||||||
|
# For a production setup, consider enabling secure access to the dashboard
|
||||||
|
# by using authentication and restricting access to trusted IPs or networks.
|
||||||
|
- "--api.insecure=true"
|
||||||
- "--api.dashboard=true"
|
- "--api.dashboard=true"
|
||||||
- "--providers.docker=true"
|
- "--providers.docker=true"
|
||||||
- "--providers.docker.exposedbydefault=false"
|
- "--providers.docker.exposedbydefault=false"
|
||||||
@ -67,6 +72,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
- traefik_certificates:/letsencrypt
|
- traefik_certificates:/letsencrypt
|
||||||
|
Loading…
Reference in New Issue
Block a user