-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 855 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (42 loc) · 855 Bytes
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
version: '3'
services:
app:
build:
context: .
target: dev
ports:
- "3000:3000"
volumes:
- .:/app
- /app/node_modules
depends_on:
- db
environment:
- HOST=0.0.0.0
- NUXT_PARSER_URL=http://parser:8080
- NUXT_DB_URL=postgres://postgres:postgres@db:5432/tools
db:
image: postgres:16.2
ports:
- "3001:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: tools
parser:
build:
context: ./parser
target: dev
ports:
- "3002:8080"
volumes:
- ./parser:/app
indexer:
build:
context: ./indexer
depends_on:
- db
environment:
- DB_URL=postgres://postgres:postgres@db:5432/tools?sslmode=disable
- API_URL=http://app:3000/api
restart: on-failure