PiGallery2 entfernt
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
#MySQL Datenbank
|
|
||||||
DB_PASSWORD=ChangeMe
|
|
||||||
DB_ROOT_PASSWORD=ChangeMe
|
|
||||||
|
|
||||||
NFS_SERVER=192.168.0.xxx
|
|
||||||
Photos=/mnt/Pfad/zu/den/Bildern
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
|
||||||
pigallery-db:
|
|
||||||
container_name: pigallery-db
|
|
||||||
image: mariadb
|
|
||||||
volumes:
|
|
||||||
- ./db-data:/var/lib/mysql
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
|
|
||||||
- MYSQL_USER=pigallery2
|
|
||||||
- MYSQL_PASSWORD=${DB_PASSWORD}
|
|
||||||
- MYSQL_DATABASE=pigallery2
|
|
||||||
- TZ=Europe/Berlin
|
|
||||||
|
|
||||||
pigallery2:
|
|
||||||
image: bpatrik/pigallery2:latest
|
|
||||||
command: sh -c 'bin/wait-for pigallery-db:3306 -- --Server-Database-mysql-host=pigallery-db --Server-Database-mysql-username=pigallery2 --Server-Database-mysql-password=${DB_PASSWORD} --Server-Database-mysql-database=pigallery2'
|
|
||||||
container_name: pigallery2
|
|
||||||
environment:
|
|
||||||
- NODE_ENV=production
|
|
||||||
- TZ=Europe/Berlin
|
|
||||||
volumes:
|
|
||||||
- "./db-data:/app/data/db"
|
|
||||||
- "Photos:/app/data/images:ro"
|
|
||||||
- "./config:/app/data/config"
|
|
||||||
- "./tmp:/app/data/tmp"
|
|
||||||
ports:
|
|
||||||
- 8090:80
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
Photos:
|
|
||||||
name: Photos
|
|
||||||
driver: local
|
|
||||||
driver_opts:
|
|
||||||
type: nfs
|
|
||||||
o: addr=${NFS_SERVER},rw
|
|
||||||
device: ":${Photos}"
|
|
||||||
Reference in New Issue
Block a user