[add] home-gallery
This commit is contained in:
parent
aa366fb6b4
commit
d7e7fd1d99
8
home-gallery/data/.gitignore
vendored
Normal file
8
home-gallery/data/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# .gitignore sample
|
||||||
|
###################
|
||||||
|
|
||||||
|
# Ignore all files in this dir...
|
||||||
|
*
|
||||||
|
|
||||||
|
# ... except for this one.
|
||||||
|
!.gitignore
|
32
home-gallery/docker-compose.yml
Normal file
32
home-gallery/docker-compose.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
version: "3.9"
|
||||||
|
services:
|
||||||
|
api:
|
||||||
|
# custom build via
|
||||||
|
#build: packages/api-server
|
||||||
|
image: xemle/home-gallery-api-server
|
||||||
|
environment:
|
||||||
|
# TensorflowJS backends
|
||||||
|
# - cpu: slowest and best support
|
||||||
|
# - wasm: good perfromance for arm64 and amd64 platforms
|
||||||
|
# - node: best performance on amd64 platform
|
||||||
|
#- BACKEND=cpu
|
||||||
|
- BACKEND=wasm
|
||||||
|
#- BACKEND=node
|
||||||
|
gallery:
|
||||||
|
# custom build via
|
||||||
|
#build: .
|
||||||
|
image: xemle/home-gallery
|
||||||
|
environment:
|
||||||
|
- GALLERY_API_SERVER=http://api:3000
|
||||||
|
#- GALLERY_API_SERVER_CONCURRENT=1 # On low powered devices
|
||||||
|
#- GALLERY_API_SERVER_TIMEOUT=60 # On low powered devices
|
||||||
|
- GALLERY_OPEN_BROWSER=false
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
# Mount your media directories below /data
|
||||||
|
- /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/PicasaStarter/pictures/Pictures:/data/Pictures
|
||||||
|
ports:
|
||||||
|
- "4000:3000"
|
||||||
|
user: "${CURRENT_USER}"
|
||||||
|
entrypoint: ['node', '/app/gallery.js']
|
||||||
|
command: ['run', 'server']
|
1
home-gallery/readme.md
Normal file
1
home-gallery/readme.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://docs.home-gallery.org/index.html
|
Loading…
Reference in New Issue
Block a user