mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-04 21:27:29 -07:00
Set up Photoprism
This commit is contained in:
parent
e3742db7ea
commit
af924d9105
1
photoprism/.gitignore
vendored
Normal file
1
photoprism/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
docker-compose.yml
|
12
photoprism/README.md
Normal file
12
photoprism/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Photoprism
|
||||||
|
|
||||||
|
Self hosted image gallery for PWS.
|
||||||
|
|
||||||
|
### Instructions
|
||||||
|
|
||||||
|
Copy `docker-compose.yml.blanked` --> `docker-compose.yml`.
|
||||||
|
|
||||||
|
Change the default admin credentials/site/etc.
|
||||||
|
Note that PHOTOPRISM_SITE_URL has the https prefix while the traefik label does not.
|
||||||
|
|
||||||
|
Start with `docker-compose up -d`.
|
26
photoprism/docker-compose.yml.blanked
Normal file
26
photoprism/docker-compose.yml.blanked
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
traefik_traefik-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
photoprism:
|
||||||
|
image: photoprism/photoprism
|
||||||
|
container_name: photoprism
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- traefik_traefik-network
|
||||||
|
ports:
|
||||||
|
- "2342:2342"
|
||||||
|
volumes:
|
||||||
|
- /data/persistent/photoprism/storage:/photoprism/storage
|
||||||
|
- /data/persistent/photoprism/originals:/photoprism/originals
|
||||||
|
environment:
|
||||||
|
- PHOTOPRISM_ADMIN_PASSWORD=ADMIN_PASSWORD
|
||||||
|
- PHOTOPRISM_SITE_URL=HTTPS://SITE_URL.COM
|
||||||
|
labels:
|
||||||
|
- traefik.http.routers.gallery.rule=Host(`SITE_URL.COM`)
|
||||||
|
- traefik.http.routers.gallery.tls=true
|
||||||
|
- traefik.http.routers.gallery.tls.certresolver=lets-encrypt
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user