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