-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-test.yml
62 lines (62 loc) · 1.39 KB
/
docker-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '2'
services:
postgres:
build: ./postgres
ports:
- "5432:5432"
volumes:
- "postgres:/var/lib/postgresql/data"
environment:
POSTGRESQL_POSTGRES_PASSWORD: postgres
POSTGRESQL_USERNAME: postgres
POSTGRESQL_PASSWORD: postgres
POSTGRESQL_DATABASE: alegre
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: alegre
REPMGR_PASSWORD: repmgrpassword
REPMGR_PRIMARY_HOST: pg-0
REPMGR_PRIMARY_PORT: 5432
REPMGR_PARTNER_NODES: pg-0,pg-1:5432
REPMGR_NODE_NAME: pg-0
REPMGR_NODE_NETWORK_NAME: pg-0
REPMGR_PORT_NUMBER: 5432
other_model_test:
build: .
command: ["make", "run_model"]
volumes:
- ".:/app"
depends_on:
- redis
env_file:
- .env_file
environment:
BOILERPLATE_ENV: test
FLASK_ENV: test
FLASK_DEBUG: "true"
MODEL_NAME: indiansbert
model_test:
build: .
command: ["make", "run_model"]
volumes:
- ".:/app"
depends_on:
- redis
env_file:
- .env_file
environment:
BOILERPLATE_ENV: test
FLASK_ENV: test
FLASK_DEBUG: "true"
MODEL_NAME: meantokens
alegre:
depends_on:
- postgres
- elasticsearch
- redis
- model_test
- other_model_test
environment:
BOILERPLATE_ENV: test
FLASK_ENV: test
FLASK_DEBUG: "true"