remove haproxy dockerfile usage

This commit is contained in:
Jonathan Math 2021-03-09 11:09:52 -05:00
parent 9da41745be
commit 059848707f
2 changed files with 1 additions and 12 deletions

View file

@ -160,9 +160,7 @@ services:
haproxy:
domainname: 'nb.local.com'
container_name: haproxy
build:
context: .
dockerfile: docker/haproxy/Dockerfile
image: haproxy:1.8.22
depends_on:
- nginx
- newsblur_web

View file

@ -1,9 +0,0 @@
FROM newsblur/newsblur_python3
FROM haproxy:1.8.22
ENV PYTHONUNBUFFERED=1
ENV NEWSBLUR_PATH=/srv/newsblur
WORKDIR /srv/newsblur
RUN /bin/bash -c 'echo "ENABLED=1" | tee /etc/default/haproxy'
RUN /bin/bash -c 'mkdir -p /srv/newsblur/config/certificates/'
COPY 'config/haproxy_rsyslog.conf' '/etc/rsyslog.d/49-haproxy.conf'