New addition: Woordle

This commit is contained in:
Michel committed 2023-09-14 20:36:10 +02:00
1 parent 0c4c0702ad
commit 3e4e82a822
2 files changed
+24

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#WOORDLE_CONTAINER_NAME=Woordle
#WOORDLE_TAG=latest
#WOORDLE_PORT=80
+19
View File
@@ -0,0 +1,19 @@
services:
# Woordle
nsdmaker:
container_name: ${WOORDLE_CONTAINER_NAME:-Woordle}
image: httpd:${WOORDLE_TAG:-latest}
command: >
sh -c "apt-get update && \
apt-get install -y curl unzip && \
curl -L -o woordle.zip https://github.com/pingiun/woordle/archive/refs/heads/main.zip && \
unzip woordle.zip && \
mv -f woordle-main/app/* /usr/local/apache2/htdocs/ && \
rm woordle.zip && \
rm -rf woordle-main/ && \
httpd-foreground"
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:80/ || exit 1
ports:
- ${WOORDLE_PORT:-80}:80