Skip to content

Commit c1a71ad

Browse files
Updated entrypoint add /etc/haproxy/conf.d for additional configuration files
1 parent be9443c commit c1a71ad

4 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ ls -lh /usr/sbin/haproxy
216216
file /usr/sbin/haproxy
217217
/usr/sbin/haproxy -vv
218218

219+
mkdir -p /scratchfs/etc/haproxy/conf.d /scratchfs/etc/ssl /scratchfs/usr/sbin /scratchfs/var/lib/haproxy/stats
219220
cp /usr/sbin/haproxy /scratchfs/usr/sbin/
220221

221222
EOF
@@ -228,4 +229,4 @@ EXPOSE 8080/tcp 8443/tcp 8443/udp
228229
STOPSIGNAL SIGUSR1
229230

230231
ENTRYPOINT ["/usr/sbin/haproxy"]
231-
CMD ["-f", "/etc/haproxy/haproxy.cfg"]
232+
CMD ["-f", "/etc/haproxy/haproxy.cfg", "-f", "/etc/haproxy/conf.d/"]

scratchfs/etc/ssl/.gitkeep

Whitespace-only changes.

scratchfs/usr/sbin/.gitkeep

Whitespace-only changes.

scratchfs/var/lib/haproxy/stats/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)