-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.local.yml
51 lines (48 loc) · 1.03 KB
/
docker-compose.local.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "2.1"
services:
gokabot-core-local:
image: gokabot-core-local
container_name: gokabot-core-local
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
TZ: Asia/Tokyo
RACK_ENV: development
env_file:
- core-api/.env
build:
context: core-api
ports:
- "8080:8080"
command:
[
"bundle",
"exec",
"rackup",
"app/config.ru",
"-o",
"0.0.0.0",
"-p",
"8080",
]
gokabot-demo:
image: gokabot-demo
container_name: gokabot-demo
environment:
TZ: Asia/Tokyo
build:
context: gokabot-demo
ports:
- "3000:3000"
command: ["yarn", "vite"]
metabase:
# see: https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-docker.html
image: metabase/metabase
container_name: gokabot-metabase
volumes:
- ~/.metabase:/metabase-data
environment:
TZ: Asia/Tokyo
MB_DB_FILE: /metabase-data/metabase.db
ports:
- "5000:3000"