-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
92 lines (83 loc) · 2.03 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# docker compose used for testing the application
version: "3.5"
services:
llama-server-dev:
build:
context: ./llama-server
dockerfile: ./Dockerfile
container_name: llama-server-dev
hostname: llama-server-dev
restart: always
ports:
- "8080:8080"
# volumes:
# - ./tmp:/tmp
environment:
- APP_HOST=0.0.0.0
- APP_PORT=8080
- APP_LOADTEST=False
#- APP_VERBOSE=True
- INFLUXDB_HOST=10.1.0.65
- TZ=America/Los_Angeles
llama-scraper-dev:
build:
context: ./llama-scraper
dockerfile: ./Dockerfile
container_name: llama-scraper-dev
hostname: llama-scraper-dev
restart: always
environment:
- LLAMA_SERVER=http://10.1.0.65:8080
- INFLUXDB_HOST=10.1.0.65
- INFLUXDB_PORT=8086
- INFLUXDB_DB=llama
depends_on:
- "llama-server-dev"
influxdb:
image: influxdb:1.8
ports:
- '8086:8086'
container_name: influxdb
restart: always
environment:
- INFLUXDB_DB=llama
llama-probe-dev:
build:
context: ./llama-probe
dockerfile: ./Dockerfile
ports:
- "8100:8100/tcp"
- "8100:8100/udp"
container_name: llama-probe-dev
hostname: llama-probe-dev
restart: always
environment:
- LLAMA_SERVER=http://10.1.0.65:8080
- LLAMA_GROUP=default
- LLAMA_PORT=8100
- LLAMA_KEEPALIVE=301
- PROBE_SHORTNAME=dev1
- PROBE_NAME=localhost
# - LLAMA_SOURCE_IP=127.0.0.10
depends_on:
- "llama-server-dev"
llama-probe-duplicate-dev:
build:
context: ./llama-probe
dockerfile: ./Dockerfile
ports:
- "8101:8100/tcp"
- "8101:8100/udp"
container_name: llama-probe-dup-dev
hostname: llama-probe-dup-dev
restart: always
environment:
- LLAMA_SERVER=http://10.1.0.65:8080
- LLAMA_GROUP=default
- LLAMA_PORT=8101
- LLAMA_KEEPALIVE=301
- PROBE_SHORTNAME=dev1
- PROBE_NAME=localhost
- LLAMA_SOURCE_IP=10.1.0.65
depends_on:
- "llama-server-dev"