1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-25 02:04:15 +02:00
pigallery2/benchmark/docker-compose/docker-compose.yml
Patrik J. Braun 951dbbf066 Removing db folder override as it does not have write access on docker
(cherry picked from commit 36d5ccbbd4c077d25c99f47c215740a46122cad4)
2021-05-15 09:28:14 +02:00

19 lines
635 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", "--Server-Database-dbFolder=/app/data/db/bm" ]
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"
volumes:
db-benchmark-data: