mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
20 lines
609 B
YAML
20 lines
609 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
pigallery2:
|
||
|
entrypoint: [ "node", "./benchmark/index", "--config-path=/app/data/config/config.json", "--bm-config-path=/app/data/config/bm_config.json" ]
|
||
|
image: bpatrik/pigallery2:latest
|
||
|
container_name: pigallery2
|
||
|
environment:
|
||
|
- NODE_ENV=production
|
||
|
volumes:
|
||
|
- "./pigallery2/benchmark_config:/app/data/config" # CHANGE ME
|
||
|
- "db-benchmark-data:/app/data/db"
|
||
|
- "./pigallery2/images:/app/data/images" # CHANGE ME
|
||
|
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
|
||
|
expose:
|
||
|
- "80"
|
||
|
restart: always
|
||
|
|
||
|
volumes:
|
||
|
db-benchmark-data:
|