New addition: Woordle
This commit is contained in:
1 parent
0c4c0702ad
commit
3e4e82a822
2 files changed
+24
No files matched your search
@@ -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
|
||||||
@@ -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
|
||||||
Reference in new issue
Block a user