Compose-Examples/examples/photoprism/docker-compose.yml

23 lines
703 B
YAML
Raw Normal View History

2023-02-15 21:45:31 +00:00
version: "3"
services:
photoprism:
image: photoprism/photoprism:latest
2023-02-15 21:45:31 +00:00
container_name: photoprism
hostname: photoprism
2023-02-15 21:45:31 +00:00
environment:
- PHOTOPRISM_ADMIN_PASSWORD=MySecureLoginPasswordForPhotoprism
- PHOTOPRISM_DEBUG=false
- PHOTOPRISM_PUBLIC=false
- PHOTOPRISM_UPLOAD_NSFW=true
- PHOTOPRISM_DETECT_NSFW=false
- PHOTOPRISM_HTTP_HOST=0.0.0.0
- PHOTOPRISM_HTTP_PORT=2342
- PHOTOPRISM_DATABASE_DRIVER=sqlite
ports:
- 2342:2342
restart: unless-stopped
volumes:
- /path/to/my/locally/stored/media/files:/photoprism/originals
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/photoprism/storage:/photoprism/storage