forked from cairo-book/starknet-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
68 lines (63 loc) · 1.51 KB
/
docker-compose.dev.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
59
60
61
62
63
64
65
66
67
68
services:
searxng:
image: docker.io/searxng/searxng:latest
volumes:
- ./searxng:/etc/searxng:rw
ports:
- 4000:8080
networks:
- starknet-agent-network
restart: unless-stopped
starknet-agent-backend:
build:
context: .
dockerfile: backend.dev.dockerfile
args:
- SEARXNG_API_URL=http://searxng:8080
volumes:
- ./src:/home/starknet-agent/src
- ./config.toml:/home/starknet-agent/config.toml
- backend-dbstore:/home/starknet-agent/data
ports:
- 3001:3001
depends_on:
- searxng
# - cairobook-ingest
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
- starknet-agent-network
environment:
- NODE_ENV=development
command: yarn run dev
restart: unless-stopped
starknet-agent-frontend:
build:
context: .
dockerfile: app.dev.dockerfile
args:
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
volumes:
- ./ui:/home/starknet-agent
- /home/starknet-agent/node_modules
depends_on:
- starknet-agent-backend
ports:
- 3000:3000
networks:
- starknet-agent-network
environment:
- CHOKIDAR_USEPOLLING=true
restart: unless-stopped
# cairobook-ingest:
# build:
# context: .
# dockerfile: ingest.dockerfile
# networks:
# - starknet-agent-network
# restart: 'no'
networks:
starknet-agent-network:
volumes:
backend-dbstore: