nginx: add new image

This commit is contained in:
Starbeamrainbowlabs 2023-06-26 22:27:51 +01:00
parent 6ccd62ca28
commit 6d99671afd
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
3 changed files with 18 additions and 0 deletions

View File

@ -76,6 +76,7 @@ Image | Purpose
`redis` | Dockerised [redis](https://redis.io/), installs the latest stable version
`shiori` | Dockerised [shiori](https://github.com/go-shiori/shiori), built from source
`tinyproxy` | Dockerised [tinyproxy](https://tinyproxy.github.io/) - config file should be mounted read-only to `/srv/tinyproxy.conf`
`nginx` | Dockerised nginx
## Docker container UID/GID map
@ -86,6 +87,7 @@ UID | GID | Container | Notes
60 | 60 | minetest-mapserver |
70 | 70 | etherpad |
80 | 80 | serve | Static HTTP Server based on Node.js
81 | 81 | nginx |
85 | 85 | mosquitto |
90 | 90 | jellyfin |
95 | 95 | shiori | Shiori bookmark system, built from source

15
images/nginx/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
ARG REPO_LOCATION
# ARG BASE_VERSION
FROM ${REPO_LOCATION}minideb
RUN install_packages nginx-light libnginx-mod-http-fancyindex
RUN rm /etc/nginx/sites-enabled/default && ln -s /srv/site.conf /etc/nginx/sites-enabled/default
VOLUME [ "/srv" ]
USER 81:81
WORKDIR /srv
ENTRYPOINT [ "/usr/sbin/nginx" ]

1
images/nginx/type.txt Normal file
View File

@ -0,0 +1 @@
docker