forked from mtusi2026/mtusi2026lab2
13 lines
520 B
YAML
13 lines
520 B
YAML
services:
|
|
benchmark:
|
|
image: ${BENCHMARK_IMAGE:-mtusi2026lab2-fork-backend}
|
|
working_dir: /app
|
|
environment:
|
|
NODE_ENV: production
|
|
DATABASE_URL: postgresql://${POSTGRES_USER:-app}:${POSTGRES_PASSWORD:-local_dev_password}@postgres:5432/${POSTGRES_DB:-chat}
|
|
CACHE_URL: redis://redis:6379/0
|
|
volumes:
|
|
- ./test:/app/test:ro
|
|
- ./evidence:/results
|
|
command: ['node', 'test/cache-benchmark.mjs', '${BENCHMARK_STAGE:-after}', '/results/cache-epochs-${BENCHMARK_STAGE:-after}.json']
|