mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-06 22:12:15 +02:00
23 lines
545 B
YAML
23 lines
545 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
|
|
env_file:
|
|
- .env
|
|
|
|
volumes:
|
|
- ./Pictures:/photoprism/originals
|
|
- ./Storage:/photoprism/storage # Settings, index, sidecar and thumbnails
|
|
- ./Import:/photoprism/import # Mounting the import folder is optional
|