@@ -5,13 +5,13 @@ RUN apk update --no-cache && apk upgrade --no-cache openssl && apk add --no-cach
5
5
RUN mkdir -p /etc/codecov/ssl/certs && chown haproxy:haproxy /etc/codecov/ssl/certs && chown haproxy:haproxy /etc/haproxy
6
6
COPY --chown=haproxy:haproxy --chmod=644 config/0-haproxy.conf /etc/haproxy/0-haproxy.conf.template
7
7
COPY --chown=haproxy:haproxy --chmod=644 config/0-haproxy-no-chroot.conf /etc/haproxy/0-haproxy-no-chroot.conf.template
8
- COPY --chown=haproxy:haproxy --chmod=644 config/2-http.conf /etc/haproxy/2-http.conf.template
9
- COPY --chown=haproxy:haproxy --chmod=644 config/3-ssl.conf /etc/haproxy/3-ssl.conf.template
10
8
11
9
FROM base as self-hosted
12
10
COPY --chmod=755 enterprise.sh /usr/local/bin/enterprise.sh
11
+ COPY --chown=haproxy:haproxy --chmod=644 config/3-ssl.conf /etc/haproxy/3-ssl.conf.template
13
12
COPY --chown=haproxy:haproxy --chmod=644 config/1-backends.conf /etc/haproxy/1-backends.conf.template
14
13
COPY --chown=haproxy:haproxy --chmod=644 config/1-minio.conf /etc/haproxy/1-minio.conf.template
14
+ COPY --chown=haproxy:haproxy --chmod=644 config/2-http.conf /etc/haproxy/2-http.conf.template
15
15
COPY --chown=haproxy:haproxy --chmod=644 config/routing.map /etc/haproxy/routing.map
16
16
COPY --chown=haproxy:haproxy --chmod=644 config/minio.map /etc/haproxy/minio.map
17
17
ENV CODECOV_API_HOST=api
@@ -43,6 +43,8 @@ ENTRYPOINT ["/usr/local/bin/enterprise.sh"]
43
43
FROM base as onprem
44
44
COPY --chmod=755 onprem.sh /usr/local/bin/onprem.sh
45
45
COPY --chown=haproxy:haproxy --chmod=644 config/onprem.conf /etc/haproxy/onprem.conf.template
46
+ COPY --chown=haproxy:haproxy --chmod=644 config/onprem-ssl.conf /etc/haproxy/onprem-ssl.conf.template
47
+ COPY --chown=haproxy:haproxy --chmod=644 config/onprem-http.conf /etc/haproxy/onprem-http.conf.template
46
48
COPY --chown=haproxy:haproxy --chmod=644 config/onprem.map /etc/haproxy/routing.map
47
49
ENV CODECOV_ONPREM_HOST_HEADER="%[req.hdr(Host)]"
48
50
ENV CODECOV_ONPREM_HOST=onprem_host
0 commit comments