2020-12-30 18:52:32 +01:00
|
|
|
version: "3"
|
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
|
2019-04-17 17:17:27 +02:00
|
|
|
command: "mix test"
|
|
|
|
volumes:
|
|
|
|
pgdata:
|
|
|
|
.:
|