2021-08-03 15:24:17 -07:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
traefik:
|
|
|
|
container_name: traefik
|
|
|
|
image: traefik:latest
|
|
|
|
networks:
|
|
|
|
- web
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- ./traefik.toml:/traefik.toml
|
|
|
|
- ./acme.json:/acme.json
|
|
|
|
|
|
|
|
5etools:
|
|
|
|
container_name: 5etools
|
|
|
|
image: jafner/5etools-docker
|
|
|
|
volumes:
|
|
|
|
- ./htdocs:/usr/local/apache2/htdocs
|
|
|
|
networks:
|
|
|
|
- web
|
|
|
|
labels:
|
|
|
|
- traefik.http.routers.5etools.rule=Host(`$DOMAIN`)
|
|
|
|
- traefik.http.routers.5etools.tls.certresolver=lets-encrypt
|
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
2021-10-03 17:14:31 -07:00
|
|
|
external: true
|