dwsdocker/traefik/traefik.sh
2022-07-31 18:18:40 +00:00

3 lines
285 B
Bash
Executable File

#!/bin/bash
docker run -d -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/traefik.toml:/traefik.toml -v $PWD/traefik_dynamic.toml:/traefik_dynamic.toml -v $PWD/acme.json:/acme.json -p 80:80 -p 443:443 --network web --name traefik --restart always traefik:v2.2