28 lines
513 B
YAML
28 lines
513 B
YAML
---
|
|
version: '3'
|
|
|
|
networks:
|
|
web:
|
|
external: false
|
|
|
|
volumes:
|
|
certs:
|
|
# This is defined as external since configuration management
|
|
# software will place necessary configuration snippets there.
|
|
traefik_config:
|
|
external: true
|
|
|
|
services:
|
|
reverse-proxy:
|
|
environment:
|
|
- TRAEFIK_API_INSECURE=false
|
|
ports:
|
|
# The HTTP port
|
|
- "80:80"
|
|
# TLS
|
|
- "443:443"
|
|
volumes:
|
|
- ./traefik.toml:/traefik.toml:ro
|
|
- traefik_config:/traefik.conf.d:ro
|
|
- certs:/certs
|