|
1 | 1 | services: |
2 | 2 | logserver: |
3 | | - build: |
4 | | - context: ../../.. |
5 | | - dockerfile: docker/dockerfiles/Dockerfile.logserver |
6 | | - network: host |
| 3 | + # build: |
| 4 | + # context: ../../.. |
| 5 | + # dockerfile: docker/dockerfiles/Dockerfile.logserver |
| 6 | + # network: host |
| 7 | + image: stefan96/heidgaf-logserver:v1.0.0 |
7 | 8 | restart: "unless-stopped" |
8 | 9 | networks: |
9 | 10 | heidgaf: |
10 | | - memswap_limit: 768m |
11 | | - deploy: |
12 | | - resources: |
13 | | - limits: |
14 | | - cpus: '2' |
15 | | - memory: 512m |
16 | | - reservations: |
17 | | - cpus: '1' |
18 | | - memory: 256m |
| 11 | + # platform: linux/x86_64 |
| 12 | + # memswap_limit: 768m |
| 13 | + # deploy: |
| 14 | + # resources: |
| 15 | + # limits: |
| 16 | + # cpus: '2' |
| 17 | + # memory: 512m |
| 18 | + # reservations: |
| 19 | + # cpus: '1' |
| 20 | + # memory: 256m |
19 | 21 | volumes: |
20 | 22 | - "${MOUNT_PATH:?MOUNT_PATH not set}:/opt/file.txt" |
21 | 23 | - ../../../config.yaml:/app/config.yaml |
22 | 24 | environment: |
23 | 25 | - GROUP_ID=log_storage |
24 | 26 |
|
25 | 27 | logcollector: |
26 | | - build: |
27 | | - context: ../../.. |
28 | | - dockerfile: docker/dockerfiles/Dockerfile.logcollector |
29 | | - network: host |
| 28 | + # build: |
| 29 | + # context: ../../.. |
| 30 | + # dockerfile: docker/dockerfiles/Dockerfile.logcollector |
| 31 | + # network: host |
| 32 | + image: stefan96/heidgaf-logcollector:v1.0.0 |
30 | 33 | restart: "unless-stopped" |
31 | 34 | volumes: |
32 | 35 | - ../../../config.yaml:/app/config.yaml |
33 | 36 | networks: |
34 | 37 | heidgaf: |
35 | | - memswap_limit: 768m |
36 | | - deploy: |
37 | | - resources: |
38 | | - limits: |
39 | | - cpus: '2' |
40 | | - memory: 512m |
41 | | - reservations: |
42 | | - cpus: '1' |
43 | | - memory: 256m |
| 38 | + # platform: linux/x86_64 |
| 39 | + # memswap_limit: 768m |
| 40 | + # deploy: |
| 41 | + # resources: |
| 42 | + # limits: |
| 43 | + # cpus: '2' |
| 44 | + # memory: 512m |
| 45 | + # reservations: |
| 46 | + # cpus: '1' |
| 47 | + # memory: 256m |
44 | 48 | environment: |
45 | 49 | - GROUP_ID=log_collection |
46 | 50 |
|
47 | 51 | prefilter: |
48 | | - build: |
49 | | - context: ../../.. |
50 | | - dockerfile: docker/dockerfiles/Dockerfile.prefilter |
51 | | - network: host |
| 52 | + # build: |
| 53 | + # context: ../../.. |
| 54 | + # dockerfile: docker/dockerfiles/Dockerfile.prefilter |
| 55 | + # network: host |
| 56 | + image: stefan96/heidgaf-prefilter:v1.0.0 |
52 | 57 | restart: "unless-stopped" |
53 | 58 | volumes: |
54 | 59 | - ../../../config.yaml:/app/config.yaml |
55 | 60 | networks: |
56 | 61 | heidgaf: |
| 62 | + # platform: linux/x86_64 |
57 | 63 | deploy: |
58 | 64 | mode: "replicated" |
59 | 65 | replicas: 1 |
60 | | - resources: |
61 | | - limits: |
62 | | - cpus: '2' |
63 | | - memory: 512m |
64 | | - reservations: |
65 | | - cpus: '1' |
66 | | - memory: 256m |
| 66 | + # resources: |
| 67 | + # limits: |
| 68 | + # cpus: '2' |
| 69 | + # memory: 512m |
| 70 | + # reservations: |
| 71 | + # cpus: '1' |
| 72 | + # memory: 256m |
67 | 73 | environment: |
68 | 74 | - GROUP_ID=log_filtering |
69 | 75 |
|
70 | 76 | inspector: |
71 | | - build: |
72 | | - context: ../../.. |
73 | | - dockerfile: docker/dockerfiles/Dockerfile.inspector |
74 | | - network: host |
| 77 | + # build: |
| 78 | + # context: ../../.. |
| 79 | + # dockerfile: docker/dockerfiles/Dockerfile.inspector |
| 80 | + # network: host |
| 81 | + image: stefan96/heidgaf-inspector:v1.0.0 |
75 | 82 | restart: "unless-stopped" |
76 | 83 | volumes: |
77 | 84 | - ../../../config.yaml:/app/config.yaml |
78 | 85 | networks: |
79 | 86 | heidgaf: |
| 87 | + # platform: linux/x86_64 |
80 | 88 | deploy: |
81 | 89 | mode: "replicated" |
82 | 90 | replicas: 2 |
83 | | - resources: |
84 | | - limits: |
85 | | - cpus: '2' |
86 | | - memory: 512m |
87 | | - reservations: |
88 | | - cpus: '1' |
89 | | - memory: 256m |
| 91 | + # resources: |
| 92 | + # limits: |
| 93 | + # cpus: '2' |
| 94 | + # memory: 512m |
| 95 | + # reservations: |
| 96 | + # cpus: '1' |
| 97 | + # memory: 256m |
90 | 98 | environment: |
91 | 99 | - GROUP_ID=data_inspection |
92 | 100 | - NUMBER_OF_INSTANCES=2 |
93 | 101 |
|
94 | 102 | detector: |
95 | | - build: |
96 | | - context: ../../.. |
97 | | - dockerfile: docker/dockerfiles/Dockerfile.detector |
98 | | - network: host |
| 103 | + # build: |
| 104 | + # context: ../../.. |
| 105 | + # dockerfile: docker/dockerfiles/Dockerfile.detector |
| 106 | + # network: host |
| 107 | + image: stefan96/heidgaf-detector:v1.0.0 |
99 | 108 | restart: "unless-stopped" |
100 | 109 | volumes: |
101 | 110 | - ../../../config.yaml:/app/config.yaml |
102 | 111 | networks: |
103 | 112 | heidgaf: |
| 113 | + # platform: linux/x86_64 |
104 | 114 | deploy: |
105 | 115 | mode: "replicated" |
106 | 116 | replicas: 1 |
107 | | - resources: |
108 | | - limits: |
109 | | - cpus: '2' |
110 | | - memory: 512m |
111 | | -# reservations: |
112 | | -# cpus: '1' |
113 | | -# memory: 256m |
114 | | -# devices: |
115 | | -# - driver: nvidia |
116 | | -# count: 1 # alternatively, use `count: all` for all GPUs |
117 | | -# capabilities: [ gpu ] |
| 117 | + # resources: |
| 118 | + # limits: |
| 119 | + # cpus: '2' |
| 120 | + # memory: 512m |
| 121 | + # reservations: |
| 122 | + # cpus: '1' |
| 123 | + # memory: 256m |
| 124 | + # devices: |
| 125 | + # - driver: nvidia |
| 126 | + # count: 1 # alternatively, use `count: all` for all GPUs |
| 127 | + # capabilities: [ gpu ] |
118 | 128 | environment: |
119 | 129 | - GROUP_ID=data_analysis |
0 commit comments