server/Traefik/docker-compose.yml

36 lines
722 B
YAML
Raw Normal View History

version: '3.8'
services:
#traefik (80, 443, 8080)
traefik:
image: 'traefik:latest'
container_name: traefik
ports:
# These ports are in format <host-port>:<container-port>
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '8080:8080' # Dashboard Port
volumes:
- ./nginx/data:/data
- ./nginx/letsencrypt:/etc/letsencrypt
restart: unless-stopped
networks:
- websites
- gitea
- databases
- bitwarden
- nextcloud
networks:
websites:
name: websites_default
gitea:
name: gitea_default
databases:
name: database_default
bitwarden:
name: bitwarden_default
nextcloud:
name: nextcloud_default