2020-12-30 22:13:19 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
pigallery2:
|
2023-01-07 16:20:23 +02:00
|
|
|
entrypoint: [ "node", "./benchmark/index", "--config-path=/app/data/config/config.json", "--bm-config-path=/app/data/config/bm_config.json", "--Database-dbFolder=/app/data/db/bm" ]
|
2020-12-30 22:13:19 +02:00
|
|
|
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"
|
2023-01-07 16:20:23 +02:00
|
|
|
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' means read-only
|
2020-12-30 22:13:19 +02:00
|
|
|
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
|
|
|
|
expose:
|
|
|
|
- "80"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-benchmark-data:
|