finances/docker/finances-prod/traefik_setup.sh
2024-03-24 20:17:42 +01:00

13 lines
289 B
Bash

#
# run this container on your server to use traefik as a reverse proxy
#
docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $PWD/traefik.toml:/traefik.toml \
-p 80:80 \
-p 443:443 \
--restart unless-stopped \
--network web \
--name traefik \
traefik:v2.10