forked from fireblocks/ncw-demo-dockerized
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (41 loc) · 1.03 KB
/
docker-compose.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
version: "3.8"
networks:
default:
name: ncw_integraion
volumes:
mysql_data:
services:
tunnel:
container_name: tunnel
hostname: tunnel
build: tunnel
env_file: config/tunnel/env.txt
mysql:
container_name: mysql
hostname: mysql
env_file: config/mysql/env.txt
platform: linux/x86_64
image: mysql:5.7.36
volumes:
- ./config/mysql/init.sql:/docker-entrypoint-initdb.d/init.sql:ro,delegated
- mysql_data:/var/lib/mysql:delegated
ports:
- "127.0.0.1:3306:3306"
ncw_backend_demo:
depends_on:
- mysql
- tunnel
container_name: ncw_backend_demo
hostname: ncw_backend_demo
env_file: config/ncw_backend_demo/env.txt
build: https://github.com/fireblocks/ncw-backend-demo.git#main
ports:
- "127.0.0.1:3000:3000"
ncw_web_demo:
depends_on:
- ncw_backend_demo
container_name: ncw_web_demo
build: https://github.com/fireblocks/ncw-web-demo.git#main
env_file: config/ncw_web_demo/env.txt
ports:
- "127.0.0.1:5173:5173"