2021-11-12 16:51:33 +01:00
|
|
|
version: "3.2"
|
2019-04-17 17:17:27 +02: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 17:13:20 +02:00
|
|
|
MOBILIZON_INSTANCE_HOST: mobilizon.test
|
2023-11-15 16:36:23 +01:00
|
|
|
command: "mix prepare_test && mix test"
|
2019-04-17 17:17:27 +02:00
|
|
|
volumes:
|
|
|
|
pgdata:
|
|
|
|
.:
|