FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
modelscript/docker-compose.yml at main · modelscript/modelscript · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
modelscript
/
modelscript
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
3
Star
12
Code
Issues
1
Pull requests
5
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
modelscript
/
docker-compose.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
98 lines (92 loc) · 2.18 KB
Breadcrumbs
modelscript
/
docker-compose.yml
Copy path
File metadata and controls
98 lines (92 loc) · 2.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
services
:
mqtt
:
image
:
eclipse-mosquitto:2
ports
:
-
"
1883:1883
"
-
"
9001:9001
"
volumes
:
-
./config/mosquitto.conf:/mosquitto/config/mosquitto.conf
-
mqtt-data:/mosquitto/data
healthcheck
:
test
:
["CMD-SHELL", "mosquitto_sub -t '$$SYS/#' -C 1 -W 3 || exit 1"]
interval
:
10s
timeout
:
5s
retries
:
3
restart
:
unless-stopped
timescaledb
:
image
:
timescale/timescaledb:latest-pg16
ports
:
-
"
5432:5432
"
environment
:
-
POSTGRES_DB=modelscript_historian
-
POSTGRES_USER=modelscript
-
POSTGRES_PASSWORD=${TIMESCALE_PASSWORD:-modelscript}
volumes
:
-
timescale-data:/var/lib/postgresql/data
-
./config/init-timescaledb.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck
:
test
:
["CMD-SHELL", "pg_isready -U modelscript -d modelscript_historian"]
interval
:
10s
timeout
:
5s
retries
:
5
restart
:
unless-stopped
api
:
image
:
ghcr.io/modelscript/api:latest
build
:
context
:
.
target
:
api
ports
:
-
"
3000:3000
"
volumes
:
-
api-data:/app/apps/api/data
depends_on
:
mqtt
:
condition
:
service_healthy
timescaledb
:
condition
:
service_healthy
environment
:
-
NODE_ENV=production
-
PORT=3000
-
MQTT_BROKER_URL=mqtt://mqtt:1883
-
TIMESCALE_URL=postgresql://modelscript:${TIMESCALE_PASSWORD:-modelscript}@timescaledb:5432/modelscript_historian
restart
:
unless-stopped
morsel
:
image
:
ghcr.io/modelscript/morsel:latest
build
:
context
:
.
target
:
morsel
ports
:
-
"
3002:3002
"
depends_on
:
-
api
environment
:
-
NODE_ENV=production
-
PORT=3002
restart
:
unless-stopped
web
:
image
:
ghcr.io/modelscript/web:latest
build
:
context
:
.
target
:
web
ports
:
-
"
3001:80
"
depends_on
:
-
api
restart
:
unless-stopped
ide
:
image
:
ghcr.io/modelscript/ide:latest
build
:
context
:
.
target
:
ide
ports
:
-
"
3003:3003
"
depends_on
:
-
api
environment
:
-
NODE_ENV=production
-
PORT=3003
restart
:
unless-stopped
volumes
:
api-data
:
mqtt-data
:
timescale-data
:
Back
|
FazBrowse Home
|
New Git URL