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