1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/benchmark/docker-compose/docker-compose.yml

19 lines
660 B
YAML
Raw Normal View History

2020-12-31 04:13:19 +08:00
version: '3'
services:
pigallery2:
2020-12-31 21:26:45 +08:00
entrypoint: [ "node", "./benchmark/index", "--config-path=/app/data/config/config.json", "--bm-config-path=/app/data/config/bm_config.json", "--Server-Database-dbFolder=/app/data/db/bm" ]
2020-12-31 04:13:19 +08: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"
2022-02-22 21:06:52 +08:00
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only
2020-12-31 04:13:19 +08:00
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
expose:
- "80"
volumes:
db-benchmark-data: