30 lines
618 B
YAML
30 lines
618 B
YAML
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:
|
|
external: true
|