-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (26 loc) · 989 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM httpd:2.4
LABEL org.opencontainers.image.authors="Matthias Geerdsen <matthias.geerdsen@intranda.com>"
LABEL org.opencontainers.image.source="https://github.com/intranda/goobi-viewer-docker-proxy"
LABEL org.opencontainers.image.description="Goobi viewer - http reverse proxy"
ENV HTTPD_PORT 80
ENV SERVERNAME localhost
ENV SERVERADMIN support@intranda.com
ENV REMOTEIP_HEADER="X-Forwarded-For"
ENV REMOTEIP_INTERNAL_PROXY=""
ENV USE_MOD_REMOTEIP=0
ENV SITEMAP_LOCATION=""
ENV CUSTOM_CONFIG=""
ENV VIEWER_HTTP_PORT 8080
ENV VIEWER_AJP_PORT 8009
ENV VIEWER_PATH /viewer
ENV VIEWER_CONTAINER viewer
ENV SOLR_PORT 8983
ENV SOLR_PATH /solr
ENV SOLR_CONTAINER solr
ENV SOLR_INCLUDES "Require all denied"
COPY httpd.conf.template /usr/local/apache2/conf/httpd.conf.template
COPY run.sh /
RUN mkdir /var/www && touch /var/www/index.html
COPY robots.txt /var/www/
RUN apt-get update && apt-get -y upgrade && apt-get -y install gettext-base && rm -rf /var/lib/apt/lists/*
CMD ["/run.sh"]