23 lines
389 B
YAML
23 lines
389 B
YAML
services:
|
|
acceptance:
|
|
image: hainuo-relay:0.1.0
|
|
entrypoint:
|
|
- python
|
|
- -m
|
|
- pytest
|
|
command:
|
|
- -q
|
|
- /tests
|
|
environment:
|
|
HN_TEST_DATABASE_URL: ${HN_DATABASE_URL}
|
|
volumes:
|
|
- ./tests:/tests:ro
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
tmpfs:
|
|
- /tmp:size=64m
|
|
working_dir: /tmp
|