-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.docker-compose.yml
More file actions
70 lines (64 loc) · 1.26 KB
/
Copy pathdev.docker-compose.yml
File metadata and controls
70 lines (64 loc) · 1.26 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
version: '3.8'
services:
backend:
build:
context: .
dockerfile: server/dev/Dockerfile
ports:
- "80:80"
restart: always
networks:
- sqwid-network
db:
image: postgres:15
environment:
POSTGRES_DB: sqwid_marketplace
POSTGRES_USER: postgres
POSTGRES_PASSWORD: my_secret_password
ports:
- "23799:5432"
shm_size: 1gb
networks:
- sqwid-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d sqwid_marketplace"]
interval: 5s
timeout: 3s
retries: 5
indexer:
depends_on:
db:
condition: service_healthy
build:
context: .
dockerfile: indexer/Dockerfile
ports:
- "3001:3001"
- "4350:4350"
restart: always
networks:
- sqwid-network
client:
build:
context: .
dockerfile: client/dev/Dockerfile
ports:
- "3000:3000"
restart: always
networks:
- sqwid-network
# reef-node:
# build:
# context: .
# dockerfile: reef-node/Dockerfile
# ports:
# - "30333:30333"
# - "9933:9933"
# - "9944:9944"
# - "9615:9615"
# restart: always
# networks:
# - sqwid-network
networks:
sqwid-network:
driver: bridge