Compare commits
3 Commits
3700f45209
...
9b204c330a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b204c330a | ||
|
|
bea11241a9 | ||
|
|
e7e4e191f1 |
@@ -7,6 +7,7 @@ services:
|
||||
user: 0:0
|
||||
ports:
|
||||
- 1880:1880
|
||||
- 1883:1883
|
||||
volumes:
|
||||
- ./data:/data
|
||||
environment:
|
||||
@@ -14,4 +15,4 @@ services:
|
||||
#- PGID=1000
|
||||
#- PUID=1000
|
||||
restart: always
|
||||
#network_mode: host
|
||||
network_mode: host
|
||||
@@ -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}"
|
||||
@@ -1,13 +1,14 @@
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
image: 'jc21/nginx-proxy-manager:2.9.21'
|
||||
# image: 'jc21/nginx-proxy-manager:latest'
|
||||
container_name: nginx_app
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
ports:
|
||||
- '80:80'
|
||||
- '81:81'
|
||||
- '443:443'
|
||||
#- '80:80'
|
||||
- '82:81'
|
||||
#- '443:443'
|
||||
environment:
|
||||
DB_MYSQL_HOST: "db"
|
||||
DB_MYSQL_PORT: 3306
|
||||
@@ -22,7 +23,7 @@ services:
|
||||
db:
|
||||
image: 'jc21/mariadb-aria:latest'
|
||||
container_name: nginx_db
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||
MYSQL_DATABASE: 'nginx'
|
||||
|
||||
Reference in New Issue
Block a user