26 lines
752 B
YAML
26 lines
752 B
YAML
name: tinyauth
|
|
|
|
services:
|
|
tinyauth:
|
|
image: ghcr.io/steveiliop56/tinyauth:v3
|
|
container_name: tinyauth
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
env_file:
|
|
- docker.env
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=proxy"
|
|
- "traefik.http.routers.tinyauth.rule=Host(`tinyauth.example.com`)"
|
|
- "traefik.http.routers.tinyauth.entrypoints=websecure"
|
|
- "traefik.http.routers.tinyauth.service=tinyauth"
|
|
- "traefik.http.services.tinyauth.loadBalancer.server.port=3000"
|
|
- "traefik.http.middlewares.tinyauth.forwardAuth.address=http://tinyauth:3000/api/auth/traefik"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|