PiGallery2 entfernt

This commit is contained in:
borgal
2023-05-05 19:41:24 +02:00
parent 3700f45209
commit e7e4e191f1
2 changed files with 0 additions and 45 deletions

View File

@@ -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

View File

@@ -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}"