diff --git a/home-gallery/data/.gitignore b/home-gallery/data/.gitignore new file mode 100644 index 0000000..1e04ba0 --- /dev/null +++ b/home-gallery/data/.gitignore @@ -0,0 +1,8 @@ +# .gitignore sample +################### + +# Ignore all files in this dir... +* + +# ... except for this one. +!.gitignore diff --git a/home-gallery/docker-compose.yml b/home-gallery/docker-compose.yml new file mode 100644 index 0000000..e57ec1f --- /dev/null +++ b/home-gallery/docker-compose.yml @@ -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'] \ No newline at end of file diff --git a/home-gallery/readme.md b/home-gallery/readme.md new file mode 100644 index 0000000..9a91152 --- /dev/null +++ b/home-gallery/readme.md @@ -0,0 +1 @@ +https://docs.home-gallery.org/index.html \ No newline at end of file