mobilizon/docker-compose.test.yml
2023-11-15 16:37:22 +01:00

18 lines
333 B
YAML

version: "3.2"
services:
postgres:
restart: "no"
environment:
POSTGRES_DB: mobilizon_test
api:
restart: "no"
environment:
MIX_ENV: "test"
MOBILIZON_DATABASE_DBNAME: mobilizon_test
MOBILIZON_INSTANCE_HOST: mobilizon.test
command: "mix prepare_test && mix test"
volumes:
pgdata:
.: