-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
27 lines (26 loc) · 898 Bytes
/
docker-compose.yaml
File metadata and controls
27 lines (26 loc) · 898 Bytes
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
---
networks:
backend:
external: true
services:
real-time:
container_name: real-time
build:
context: .
dockerfile: Dockerfile
environment:
PORT: 3003
BACKEND_URL: ${BACKEND_URL}
JWT_SECRET: ${JWT_SECRET}
REDISHOST: ${REDISHOST}
restart: unless-stopped
labels:
traefik.enable: "true"
traefik.http.services.real-time-codespace.loadbalancer.server.port: "3003"
traefik.http.services.real-time-codespace.loadbalancer.server.scheme: "http"
traefik.http.routers.real-time-codespace-https.entrypoints: "websecure"
traefik.http.routers.real-time-codespace-https.rule: "Host(`codespace-realtime.srv-demo-2.home.unixvextor.com`)"
traefik.http.routers.real-time-codespace-https.tls: "true"
traefik.http.routers.real-time-codespace-https.tls.certresolver: "cloudflare"
networks:
- backend