-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack.yml
More file actions
102 lines (97 loc) · 2.27 KB
/
stack.yml
File metadata and controls
102 lines (97 loc) · 2.27 KB
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
99
100
101
102
version: "3.1"
networks:
web:
external: true
internal:
external: false
services:
db-testnet:
image: postgres
restart: always
volumes:
- ./dbs:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- 5432:5432
networks:
- internal
- web
adminer:
image: adminer
restart: always
ports:
- 8088:8080
networks:
- web
depends_on:
- db-testnet
node-testnet:
image: node:12-alpine
container_name: "stellar-node-testnet"
restart: always
ports:
- 5001:5001
volumes:
- ./stellar-poc:/home/node/app
networks:
- internal
working_dir: /home/node/app
command: >
sh -c "npm i -g pm2 && npm install && pm2-runtime src/app.js --watch"
# indracore-rpc-client:
# image: keymetrics/pm2:latest-alpine
# container_name: "indracore-rpc-client"
# restart: always
# ports:
# - 9002:9002
# volumes:
# - ./indracore-rpc-client:/home/node/app
# networks:
# - internal
# working_dir: /home/node/app
# command: >
# sh -c "npm install && pm2-runtime start ecosystem.config.js"
s3-server:
image: node:12-alpine
container_name: "zeetomic-s3-testnet"
restart: always
ports:
- 9001:9001
volumes:
- ./s3-server:/home/node/app
networks:
- web
working_dir: /home/node/app
command: >
sh -c "npm i -g pm2 && npm install && pm2-runtime server.js --watch"
indracore-rpc-client:
image: rust:1.46-slim
container_name: "indracore-rpc-client"
restart: always
ports:
- 9002:9002
volumes:
- ./indracore-rust:/usr/src/myapp
networks:
- web
- internal
working_dir: /usr/src/myapp
command: >
sh -c "./script/init.sh && cd http_service && cargo build --release && .././target/release/service"
apiserver:
image: clojure
container_name: "zeetomic-api-testnet"
restart: always
depends_on:
- indracore-rpc-client
ports:
- 3001:3000
volumes:
- ./:/usr/src/myapp
networks:
- web
- internal
working_dir: /usr/src/myapp
command: sh -c "lein do clean, ring uberjar && java -jar target/server.jar"