Code:
version: '3'
services:
rsyslog:
image: aguslr/rsyslog
container_name: rsyslog
build:
context: .
restart: unless-stopped
volumes:
- ./logs:/var/log/supervisord
ports:
- 514:514/tcp
- 514:514/udp
kibana:
image: docker.elastic.co/kibana/kibana:7.17.0
ports:
- 5601:5601
environment:
SERVER_NAME: xxx
ELASTICSEARCH_HOSTS: [url=http://es01:9200]http://es01:9200[/url]
SERVER_PUBLIC_BASEURL: xxx
networks:
- elastic
depends_on:
- es01
es01:
image: elasticsearch:7.17.20
user: "1000:1000"
container_name: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es01
- cluster.initial_master_nodes=es01
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- /home/ubuntu/portainer/elasticsearch/data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- elastic
volumes:
data01:
driver: local
networks:
elastic:
driver: bridge
This is my docker compose and rsyslog dont wrok..... Im trying to use is as remote server for logs for Asus Merlin. VPS is arm64... Please guys, give me a solution.
PS
I suppose that anything other than rsyslog wont work with merlin because merlin is using rsyslog... I tried syslog-ng w/o success.