-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.local.yml
58 lines (49 loc) · 1.3 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
52
53
54
55
56
57
58
version: "3"
x-marketplace: &marketplace-backend
image: uniquenetwork/marketplace-backend:${MARKET_VERSION}
restart: unless-stopped
env_file:
- ./.env
depends_on:
- postgres
services:
nginx:
container_name: nginx
image: nginx:alpine
volumes:
- ./nginx/nginx.local.conf:/etc/nginx/templates/default.conf.template:ro
ports:
- 80:80
- 443:443
depends_on:
- frontend
frontend:
container_name: frontend
image: uniquenetwork/marketplace-frontend:${MARKET_VERSION}
env_file:
- ./.env
volumes:
- ./static/footer.html:/usr/share/nginx/html/footer.html:ro
- ./static/logo.svg:/usr/share/nginx/html/logos/logo.svg:ro
- ./static/variables.css:/usr/share/nginx/html/variables.css:ro
depends_on:
- backend
backend:
container_name: backend
<<: *marketplace-backend
escrow-unique:
container_name: escrow-unique
command: [ "npm", "run", "escrow:unique" ]
<<: *marketplace-backend
escrow-kusama:
container_name: escrow-kusama
command: [ "npm", "run", "escrow:kusama" ]
<<: *marketplace-backend
postgres:
image: postgres:14.1-alpine
container_name: postgres
env_file:
- ./.env
volumes:
- ./pgdata:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro