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']