forked from elebumm/BusinessGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (52 loc) · 1.12 KB
/
docker-compose.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
version: "3"
services:
web:
networks:
mynetwork:
ipv4_address: 192.168.1.100
build: .
ports:
- "9999:9999"
environment:
- FLASK_APP=app.py
- LUMINATI_PROXY=http://proxy:24000
depends_on:
- proxy
command: ["flask", "run", "--host=0.0.0.0", "--port=9999"]
env_file:
- .env
volumes:
- .:/app
frontend:
build: ./frontend
command: yarn run preview
depends_on:
- web
ports:
- "4173:4173"
volumes:
- ./frontend:/app/frontend
proxy:
networks:
- mynetwork
hostname: proxy
image: luminati/luminati-proxy
ports:
- 22999:22999
- 22225:22225
- 22555:22555
- 24000:24000
command: proxy-manager --config="/app/.luminati.json" --www_whitelist_ips "172.16.238.34" --www_whitelist_ips "192.168.1.100"
volumes:
- ./brightdata.json:/app/.luminati.json
healthcheck:
test: ["CMD", "curl", "-f", "proxy:22999"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
mynetwork:
ipam:
config:
- subnet: 192.168.1.0/24