-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
47 lines (44 loc) · 924 Bytes
/
docker-compose.yaml
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
services:
searxng:
image: docker.io/searxng/searxng:latest
volumes:
- ./searxng:/etc/searxng:rw
ports:
- 4000:8080
networks:
- smartsearch-network
restart: unless-stopped
backend:
build:
context: .
dockerfile: backend.dockerfile
volumes:
- ./backend:/app
environment:
- SEARXNG_API_URL=http://searxng:8080
depends_on:
searxng:
condition: service_started
ports:
- "8000:8000"
networks:
- smartsearch-network
restart: unless-stopped
frontend:
build:
context: .
dockerfile: frontend.dockerfile
volumes:
- ./frontend:/app
environment:
- REACT_APP_BACKEND_URL=http://localhost:8000
ports:
- "3000:3000"
depends_on:
- backend
networks:
- smartsearch-network
restart: unless-stopped
networks:
smartsearch-network:
driver: bridge