Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit 4a763c1

Browse files
committed
Use HAProxy 1.9 and log to stdout
Fix #1.
1 parent ccb6870 commit 4a763c1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM haproxy:1.8-alpine
1+
FROM haproxy:1.9-alpine
22

33
ENTRYPOINT ["/magic-entrypoint", "/docker-entrypoint.sh"]
44
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]

magic-entrypoint.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"""
2525
config = """
2626
global
27-
log /dev/log local0
27+
log stdout format raw daemon
28+
2829
defaults
2930
log global
3031
mode tcp

0 commit comments

Comments
 (0)