-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
29 lines (28 loc) · 1 KB
/
docker-compose.yaml
File metadata and controls
29 lines (28 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: "3.8"
networks:
proxy:
external: true
services:
react-home-assistant:
container_name: react-home-assistant
image: app-prod
ports:
- "1337:80"
volumes:
- '.:/app'
- '/app/node_modules'
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.react.entrypoints=http"
- "traefik.http.routers.react.rule=Host(`home-automation.kanoa.be`)"
- "traefik.http.middlewares.react-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.react.middlewares=react-https-redirect"
- "traefik.http.routers.react-secure.entrypoints=https"
- "traefik.http.routers.react-secure.rule=Host(`home-automation.kanoa.be`)"
- "traefik.http.routers.react-secure.tls=true"
- "traefik.http.routers.react-secure.tls.certresolver=http"
- "traefik.http.routers.react-secure.service=react-home-assistant"
- "traefik.http.services.react.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"