TraefikIntegration #5
36
Traefik/docker-compose.yml
Normal file
36
Traefik/docker-compose.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user