mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-06 22:12:15 +02:00
20 lines
517 B
YAML
20 lines
517 B
YAML
|
version: '3.5'
|
||
|
|
||
|
services:
|
||
|
|
||
|
photoprism:
|
||
|
image: photoprism/photoprism:latest
|
||
|
restart: unless-stopped
|
||
|
security_opt:
|
||
|
- seccomp:unconfined
|
||
|
- apparmor:unconfined
|
||
|
healthcheck: # Optional
|
||
|
test: "photoprism status"
|
||
|
interval: 60s
|
||
|
timeout: 15s retries: 5
|
||
|
|
||
|
volumes:
|
||
|
- ./Pictures:/photoprism/originals
|
||
|
- ./Storage:/photoprism/storage # Settings, index, sidecar and thumbnails
|
||
|
- ./Import:/photoprism/import # Mounting the import folder is optional
|