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