traefik-container/container-compose.prod.yml

28 lines
513 B
YAML
Raw Normal View History

2022-09-10 20:23:15 +00:00
---
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