New addition: Homer

This commit is contained in:
2023-09-09 15:55:43 +02:00
parent 306819db39
commit 3dd5cb9cb6
2 changed files with 26 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#SYNOLOGY_VOLUME=volume1
#STACK_NAME=homer
#UID=1024
#GID=101
#HOMER_CONTAINER_NAME=Homer
#HOMER_TAG=latest
#HOMER_PORT=8080
#HOMER_INIT_ASSETS=1
+16
View File
@@ -0,0 +1,16 @@
services:
# Homer
homer:
container_name: ${HOMER_CONTAINER_NAME:-Homer}
hostname: homer
image: b4bz/homer:${HOMER_TAG:-latest}
user: ${UID:-1024}:${GID:-101}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8080/
environment:
INIT_ASSETS: ${HOMER_INIT_ASSETS:-1}
ports:
- ${HOMER_PORT:-8080}:8080
volumes:
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-homer}/${HOMER_CONTAINER_NAME:-Homer}/www/assets:/www/assets