New addition: WebsiteShot

This commit is contained in:
2023-09-10 01:22:27 +02:00
parent 3f94ba9b3e
commit 604b67172c
2 changed files with 20 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#SYNOLOGY_VOLUME=volume1
#STACK_NAME=websiteshot
#WEBSITESHOT_CONTAINER_NAME=WebsiteShot
#WEBSITESHOT_TAG=latest
#WEBSITESHOT_PORT=3000
+13
View File
@@ -0,0 +1,13 @@
services:
# WebsiteShot
websiteshot:
container_name: ${WEBSITESHOT_CONTAINER_NAME:-WebsiteShot}
hostname: websiteshot
image: flowko1/website-shot:${WEBSITESHOT_TAG:-latest}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/
ports:
- ${WEBSITESHOT_PORT:-3000}:3000
volumes:
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-websiteshot}/${WEBSITESHOT_CONTAINER_NAME:-WebsiteShot}/usr/src/website-shot/screenshots:/usr/src/website-shot/screenshots