-
Notifications
You must be signed in to change notification settings - Fork 126
/
docker-compose.yml
49 lines (48 loc) · 1.28 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
48
49
version: "3.1"
services:
db-postgresql:
image: postgres
restart: always
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test
server:
image: ethlance-server:latest
container_name: ethlance-server
build:
context: .
dockerfile: "docker-builds/server/Dockerfile"
args:
ETHLANCE_ENV: "qa"
ports:
- 6300:6300
command: ["node", "ethlance_server.js"]
environment:
ETHLANCE_ENV: "qa"
ui:
image: ethlance-ui:latest
container_name: ethlance-ui
ports:
- 9080:80
build:
context: .
dockerfile: "docker-builds/ui/Dockerfile"
args:
ETHLANCE_ENV: "qa"
depends_on:
- server
environment:
ETHLANCE_ENV: "qa"
# Collect deps, compiles and deploys contracts
base:
image: ethlance-base:local
container_name: ethlance-base
command: ["exit", "0"]
build:
context: .
dockerfile: "docker-builds/base/Dockerfile"
args:
ETHLANCE_ENV: "qa"
environment:
ETHLANCE_ENV: "qa"