Refac
This commit is contained in:
2
services/pigallery/BACKUP.adoc
Normal file
2
services/pigallery/BACKUP.adoc
Normal file
@@ -0,0 +1,2 @@
|
||||
/mnt/Teka2/photos
|
||||
./db-data
|
||||
0
services/pigallery/config/config.json
Normal file
0
services/pigallery/config/config.json
Normal file
0
services/pigallery/db-data/.gitstub
Normal file
0
services/pigallery/db-data/.gitstub
Normal file
15
services/pigallery/docker-compose.yml
Normal file
15
services/pigallery/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3'
|
||||
services:
|
||||
pigallery2:
|
||||
image: bpatrik/pigallery2:1.8.5
|
||||
container_name: pigallery2
|
||||
environment:
|
||||
- NODE_ENV=debug #production # set to 'debug' for full debug logging
|
||||
volumes:
|
||||
- "./config:/app/data/config"
|
||||
- "./db-data:/app/data/db"
|
||||
- "/mnt/Teka2/photos:/app/data/images:ro"
|
||||
- "./tmp:/app/data/tmp"
|
||||
ports:
|
||||
- 7780:80
|
||||
restart: always
|
||||
10
services/pigallery/pigallery.nginx.conf
Normal file
10
services/pigallery/pigallery.nginx.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
server {
|
||||
server_name photos.skazochnik.spb.ru;
|
||||
listen 443 ssl;
|
||||
location / {
|
||||
proxy_pass http://localhost:7780/;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/photos.skazochnik.spb.ru/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/photos.skazochnik.spb.ru/privkey.pem; # managed by Certbot
|
||||
}
|
||||
0
services/pigallery/tmp/.gitstub
Normal file
0
services/pigallery/tmp/.gitstub
Normal file
Reference in New Issue
Block a user