Add Docker, K3s, and other apps
This commit is contained in:
parent
4236e99a5f
commit
d94279d8a5
9 changed files with 89 additions and 0 deletions
16
docker/traefik/docker-compose.yml
Normal file
16
docker/traefik/docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
reverse-proxy:
|
||||
# The official v3 Traefik docker image
|
||||
image: traefik:v3.0
|
||||
# Enables the web UI and tells Traefik to listen to docker
|
||||
command: --api.insecure=true --providers.docker
|
||||
ports:
|
||||
# The HTTP port
|
||||
- "80:80"
|
||||
# The Web UI (enabled by --api.insecure=true)
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
# So that Traefik can listen to the Docker events
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
Loading…
Add table
Add a link
Reference in a new issue