mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-18 07:17:05 +00:00
Update docker-compose.yml
improve structure
This commit is contained in:
parent
82075b32ae
commit
801ed62f6c
|
@ -2,7 +2,9 @@ version: "3"
|
|||
|
||||
services:
|
||||
photoprism:
|
||||
image: photoprism/photoprism:latest
|
||||
container_name: photoprism
|
||||
hostname: photoprism
|
||||
environment:
|
||||
- PHOTOPRISM_ADMIN_PASSWORD=MySecureLoginPasswordForPhotoprism
|
||||
- PHOTOPRISM_DEBUG=false
|
||||
|
@ -14,7 +16,6 @@ services:
|
|||
- PHOTOPRISM_DATABASE_DRIVER=sqlite
|
||||
ports:
|
||||
- 2342:2342
|
||||
image: photoprism/photoprism:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /path/to/my/locally/stored/media/files:/photoprism/originals
|
||||
|
|
Loading…
Reference in New Issue
Block a user