File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11.PHONY : infra
22
33infra :
4- if [ ! -d " /var/run/fluent-bit" ]; then echo " Creating fluent-bit dir" ; sudo mkdir /var/run/fluent-bit; else echo " Fluent-bit dir is already exists" ; fi
54 docker compose up -d
65 ./scripts/wait-for-it.sh -t 30 127.0.0.1:35432 -- echo ' postgres is up'
76 ./scripts/wait-for-it.sh -t 30 127.0.0.1:45401 -- echo ' postgresql-citus-coordinator-1 is up'
Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ export EDITOR=vim
5050sudo dnf install ffmpeg-free
5151```
5252
53- ## Create dir for fluent-bit socket
54- ``` bash
55- sudo mkdir /var/run/fluent-bit
56- ```
57-
5853## Environment (PostgreSQL, RabbitMQ, ...)
5954To start the environment do
6055```
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ services:
2424 # https://docs.docker.com/engine/logging/drivers/fluentd/
2525 driver : " fluentd"
2626 options :
27- fluentd-address : unix:///var/run/fluent-bit/socket
27+ fluentd-address : localhost:24224
2828 fluentd-async : " true" # in order not to fail in case traefik started faster than fluent-bit
2929 tag : videochat.infra.traefik
3030 fluentd-sub-second-precision : " true"
@@ -251,14 +251,16 @@ services:
251251 hostname : fluentbit
252252 volumes :
253253 - ./docker/fluent-bit/etc:/fluent-bit/etc:z
254- - /var/run/fluent-bit:/var/run/fluent-bit:z
255254 - ./aaa/logs:/var/log/videochat/aaa/logs:z
256255 - ./chat/logs:/var/log/videochat/chat/logs:z
257256 - ./storage/logs:/var/log/videochat/storage/logs:z
258257 - ./video/logs:/var/log/videochat/video/logs:z
259258 - ./event/logs:/var/log/videochat/event/logs:z
260259 - ./notification/logs:/var/log/videochat/notification/logs:z
261260 - ./public/logs:/var/log/videochat/public/logs:z
261+ ports :
262+ - " 24224:24224"
263+ - " 24224:24224/udp"
262264 networks :
263265 backend :
264266 logging :
Original file line number Diff line number Diff line change 44
55[INPUT]
66 Name forward
7- Unix_Path /var/run/fluent-bit/socket
8- Unix_Perm 0777
7+ Listen 0.0.0.0
8+ Port 24224
99
1010[INPUT]
1111 Name tail
You can’t perform that action at this time.
0 commit comments