2021-11-12 15:51:33 +00:00
|
|
|
version: "3.2"
|
2019-04-17 15:17:27 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
restart: "no"
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: mobilizon_test
|
|
|
|
api:
|
|
|
|
restart: "no"
|
|
|
|
environment:
|
|
|
|
MIX_ENV: "test"
|
|
|
|
MOBILIZON_DATABASE_DBNAME: mobilizon_test
|
2019-04-17 15:13:20 +00:00
|
|
|
MOBILIZON_INSTANCE_HOST: mobilizon.test
|
2023-11-15 15:36:23 +00:00
|
|
|
command: "mix prepare_test && mix test"
|
2019-04-17 15:17:27 +00:00
|
|
|
volumes:
|
|
|
|
pgdata:
|
|
|
|
.:
|