You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-05 23:18:43 +02:00
32 lines
727 B
YAML
32 lines
727 B
YAML
|
|
version: '3'
|
||
|
|
services:
|
||
|
|
nginx:
|
||
|
|
image: nginx:latest
|
||
|
|
container_name: production_nginx
|
||
|
|
volumes:
|
||
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||
|
|
- ./nginx/error.log:/etc/nginx/error_log.log
|
||
|
|
- ./nginx/cache/:/etc/nginx/cache
|
||
|
|
- /etc/letsencrypt/:/etc/letsencrypt/
|
||
|
|
ports:
|
||
|
|
- 80:80
|
||
|
|
- 443:443
|
||
|
|
restart: always
|
||
|
|
|
||
|
|
pigallery2:
|
||
|
|
image: bpatrik/pigallery2:nightly-stretch
|
||
|
|
container_name: pigallery2
|
||
|
|
environment:
|
||
|
|
- NODE_ENV=production
|
||
|
|
volumes:
|
||
|
|
- "./pigallery2/config:/app/data/config"
|
||
|
|
- "db-data:/app/data/db"
|
||
|
|
- "./pigallery2/images:/app/data/images"
|
||
|
|
- "./pigallery2/tmp:/app/data/tmp"
|
||
|
|
expose:
|
||
|
|
- "80"
|
||
|
|
restart: always
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
db-data:
|