-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
76 lines (75 loc) · 1.51 KB
/
docker-compose.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: "3.4"
x-environment:
&WIDGET_ENVIRONMENT # These are read from .env file. The values in the .env file maybe overriden by shell envvars
OCROLUS_WIDGET_ENVIRONMENT: ${OCROLUS_WIDGET_ENVIRONMENT}
OCROLUS_CLIENT_ID: ${OCROLUS_CLIENT_ID}
OCROLUS_CLIENT_SECRET: ${OCROLUS_CLIENT_SECRET}
OCROLUS_WIDGET_UUID: ${OCROLUS_WIDGET_UUID}
services:
ngrok:
networks:
- "quickstart"
build:
context: .
dockerfile: ./node/webhook.Dockerfile
ports:
- 4040:4040
depends_on:
- "node"
volumes:
- ./ngrok.yml:/etc/ngrok.yml
caddy:
networks:
- "quickstart"
build:
context: .
dockerfile: ./reverse-proxy/Dockerfile
ports:
- 80:80
- 443:443
depends_on:
- "frontend"
- "node"
node:
networks:
- "quickstart"
build:
context: .
dockerfile: ./node/Dockerfile
ports:
- 8000
environment:
<<: *WIDGET_ENVIRONMENT
php:
networks:
- "quickstart"
build:
context: .
dockerfile: ./php/Dockerfile
ports:
- "8001:8001"
environment:
<<: *WIDGET_ENVIRONMENT
frontend:
depends_on:
- "node"
networks:
- "quickstart"
build:
context: .
dockerfile: ./frontend/Dockerfile
ports:
- 3000
frontend-react:
depends_on:
- "node"
networks:
- "quickstart"
build:
context: .
dockerfile: ./react-widget/Dockerfile
ports:
- 3001
networks:
quickstart:
name: quickstart