mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
add photoview
This commit is contained in:
parent
4a1f9f7232
commit
c8eba657b7
@ -407,6 +407,7 @@ A collection of delicious docker recipes.
|
||||
- [x] owncloud
|
||||
- [x] chocobozzz/peertube
|
||||
- [x] dpage/pgadmin4
|
||||
- [x] viktorstrate/photoview
|
||||
- [x] phplist/phplist
|
||||
- [x] phpmyadmin
|
||||
- [x] pihole/pihole
|
||||
|
8
photoview/README.md
Normal file
8
photoview/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
photoview
|
||||
=========
|
||||
|
||||
[Photoview][1] is a simple and user-friendly photo gallery that's made for
|
||||
photographers and aims to provide an easy and fast way to navigate directories,
|
||||
with thousands of high-resolution photos.
|
||||
|
||||
[1]: https://photoview.github.io/
|
32
photoview/docker-compose.yml
Normal file
32
photoview/docker-compose.yml
Normal file
@ -0,0 +1,32 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
mysql:
|
||||
image: mariadb:10.5
|
||||
volumes:
|
||||
- ./data/mysql:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_DATABASE=photoview
|
||||
- MYSQL_USER=photoview
|
||||
- MYSQL_PASSWORD=photoview
|
||||
- MYSQL_RANDOM_ROOT_PASSWORD=1
|
||||
restart: unless-stopped
|
||||
|
||||
photoview:
|
||||
image: viktorstrate/photoview:2
|
||||
ports:
|
||||
- "8000:80"
|
||||
environment:
|
||||
- PHOTOVIEW_DATABASE_DRIVER=mysql
|
||||
- PHOTOVIEW_MYSQL_URL=photoview:photoview@tcp(mysql)/photoview
|
||||
- PHOTOVIEW_LISTEN_IP=photoview
|
||||
- PHOTOVIEW_LISTEN_PORT=80
|
||||
- PHOTOVIEW_MEDIA_CACHE=/app/cache
|
||||
# MAPBOX_TOKEN=<YOUR TOKEN HERE>
|
||||
volumes:
|
||||
- ./data/cache:/app/cache
|
||||
- ./data/photos:/photos:ro
|
||||
depends_on:
|
||||
- mysql
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user