-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
31 lines (31 loc) · 1.07 KB
/
docker-compose.yml
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
30
31
version: '3.8'
services:
client:
build: .
container_name: client_frontend
ports:
- '3000:3000'
volumes:
- .:/app
- ./node_modules:/app/node_modules
- ./dist:/app/dist
stdin_open: true
tty: true
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.mainpage.entrypoints=http"
- "traefik.http.routers.mainpage.rule=Host(`thedirtysagestavern.com`)"
- "traefik.http.middlewares.mainpage-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.mainpage.middlewares=mainpage-https-redirect"
- "traefik.http.routers.mainpage-secure.entrypoints=https"
- "traefik.http.routers.mainpage-secure.rule=Host(`thedirtysagestavern.com`)"
- "traefik.http.routers.mainpage-secure.tls=true"
- "traefik.http.routers.mainpage-secure.tls.certresolver=http"
- "traefik.http.routers.mainpage-secure.service=mainpage"
- "traefik.http.services.mainpage.loadbalancer.server.port=3000"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true