runtipi/docker-compose.yml

64 lines
1.5 KiB
YAML
Raw Normal View History

2022-03-29 17:41:49 +00:00
version: '3.7'
services:
2022-04-07 08:34:18 +00:00
# gluetun:
# container_name: gluetun
# image: qmcgaw/gluetun
# cap_add:
# - NET_ADMIN
# environment:
# - VPN_SERVICE_PROVIDER=mullvad
# - VPN_TYPE=wireguard
# - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
# - WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES}
# - SERVER_COUNTRIES=Switzerland
# - OWNED_ONLY=yes
# ports:
# - 80:80
# - 8080:8080
# networks:
# - tipi_main_network
reverse-proxy:
container_name: reverse-proxy
image: traefik:v2.6
restart: always
ports:
- 80:80
- 443:443
- 8080:8080
security_opt:
- no-new-privileges:true
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ${PWD}/traefik:/root/.config
networks:
- tipi_main_network
2022-04-07 20:13:36 +00:00
2022-04-07 08:34:18 +00:00
dashboard:
build:
context: ./dashboard
dockerfile: Dockerfile
container_name: dashboard
volumes:
- ${PWD}/state:/app/state
ports:
- 3000:3000
networks:
- tipi_main_network
labels:
traefik.enable: true
traefik.http.routers.dashboard.rule: Host(`tipi.local`)
2022-04-07 20:13:36 +00:00
# traefik.http.routers.dashboard.tls: true
traefik.http.routers.dashboard.entrypoints: webinsecure
2022-04-07 08:34:18 +00:00
traefik.http.routers.dashboard.service: dashboard
traefik.http.services.dashboard.loadbalancer.server.port: 3000
2022-03-29 18:53:48 +00:00
2022-04-07 08:34:18 +00:00
networks:
tipi_main_network:
2022-04-14 20:59:36 +00:00
driver: bridge
ipam:
driver: default
config:
- subnet: 10.21.21.0/24