mminks / haproxy-docker-logging Goto Github PK
View Code? Open in Web Editor NEWLatest Alpine-based official HAProxy image with logging to STDOUT
Latest Alpine-based official HAProxy image with logging to STDOUT
Hi,
I am working on setuping haproxy on docker and I find your repo.
In the README, you mention "tini" but I can't see it anywhere in the project.
What's your trick ? ๐
Regards,
I am new to haproxy and testing an port sharing ocserv with https. Docker overlay with -net. I attempt to implement log, so I know wher it is fail. After copy your rsyslog.cfg entrypoint.sh, adjust Dockerfile. I cannot where is the log. From the host, ls /var/log, there is no haproxy log, nor in container, ls /var/log...
Docker exec ls /var/log return apt btmp dpkg.log faillog lastlog wtmp.
Hi @mminks,
First of all, thank you for your effort.
I would like to ask if you could provide an image with HAProxy 1.9.
I found this option Repository Links
in the build configurations on Docker Hub.
Maybe that's all you have to do to automatically trigger a new build when the HAProxy image gets updated.
Greetings OttNorml
Copy and paste the Dockerfile and bulid locally with below error. May be alpine does not support this option?
Step 3/7 : RUN set -exo pipefail && apk add --no-cache rsyslog && mkdir -p /etc/rsyslog.d && touch /var/log/haproxy.log && ln -sf /dev/stdout /var/log/haproxy.log
---> Running in 7c9613fea231
/bin/sh: 1: set: Illegal option -o pipefail
Whyyyy????????
WHY???????????? Now i need change all my projects........
bash-5.0# ./docker-entrypoint.sh
rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
rsyslogd: activation of module imklog failed [v8.1911.0 try https://www.rsyslog.com/e/2145 ]
HA-Proxy version 2.1.3 2020/02/12 - https://haproxy.org/
Status: stable branch - will stop receiving fixes around Q1 2021.
Known bugs: http://www.haproxy.org/bugs/bugs-2.1.3.html
Try to find solution as below but in vain.
https://stackoverflow.com/questions/56609182/openthread-environment-docker-rsyslogd-imklog-cannot-open-kernel-log-proc-km
if possible, Pls add an docker-compose.yml example.
What is the impact of 127.0.0.1 in Haproxy.cfg for overlay network?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.