-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 1.22 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
version: "3.1"
services:
db-postgresql:
image: postgres
restart: always
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test
server:
image: ${DOCKER_REGISTRY}/ethlance-server:latest
container_name: ethlance-server
build:
context: .
dockerfile: "docker-builds/server/Dockerfile"
args:
ETHLANCE_ENV: ${ETHLANCE_ENV}
DOCKER_REGISTRY: ${DOCKER_REGISTRY}
ETHLANCE_DEPLOY_SEED: ${ETHLANCE_DEPLOY_SEED}
ports:
- 6300:6300
command: ["node", "ethlance_server.js"]
environment:
ETHLANCE_ENV: ${ETHLANCE_ENV}
ui:
image: ${DOCKER_REGISTRY}/ethlance-ui:latest
container_name: ethlance-ui
ports:
- 9080:80
build:
context: .
dockerfile: "docker-builds/ui/Dockerfile"
args:
ETHLANCE_ENV: ${ETHLANCE_ENV}
DOCKER_REGISTRY: ${DOCKER_REGISTRY}
ETHLANCE_DEPLOY_SEED: ${ETHLANCE_DEPLOY_SEED}
depends_on:
- server
environment:
ETHLANCE_ENV: ${ETHLANCE_ENV}