New addition: Homer
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user