mirror of
https://github.com/ditkrg/traefik-users-blocker-plugin.git
synced 2026-01-22 19:16:57 +00:00
add docker compose for local development
This commit is contained in:
parent
3f807c236f
commit
149616a5ad
16
docker-compose.yaml
Normal file
16
docker-compose.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
reverse-proxy:
|
||||
image: traefik:v3.0
|
||||
command:
|
||||
- --api.insecure=true
|
||||
- --providers.docker
|
||||
- "--experimental.localPlugins.usersblocker.moduleName=github.com/ditkrg/traefik-users-blocker-plugin"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
# So that Traefik can listen to the Docker events
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./:/plugins-local/src/github.com/ditkrg/traefik-users-blocker-plugin
|
||||
Loading…
Reference in New Issue
Block a user