New addition: NSD-Maker
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Uncomment and change the following variables if you want to use them.
|
||||
#RESTART=unless-stopped
|
||||
#NSDMAKER_CONTAINER_NAME=NSDMaker
|
||||
#NSDMAKER_TAG=latest
|
||||
#NSDMAKER_PORT=80
|
||||
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
# NSD-Maker
|
||||
nsdmaker:
|
||||
container_name: ${NSDMAKER_CONTAINER_NAME:-NSDMaker}
|
||||
image: httpd:${NSDMAKER_TAG:-latest}
|
||||
command: >
|
||||
sh -c "apt-get update && \
|
||||
apt-get install -y curl unzip && \
|
||||
curl -L -o nsdmaker.zip https://github.com/charyan/nsdmaker/archive/refs/heads/master.zip && \
|
||||
unzip nsdmaker.zip && \
|
||||
mv -f nsdmaker-master/* /usr/local/apache2/htdocs/ && \
|
||||
rm nsdmaker.zip && \
|
||||
rm -rf nsdmaker-master/ && \
|
||||
httpd-foreground"
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
healthcheck:
|
||||
test: curl -f http://localhost:80/ || exit 1
|
||||
ports:
|
||||
- ${NSDMAKER_PORT:-80}:80
|
||||
Reference in New Issue
Block a user