-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.test.yml
42 lines (42 loc) · 1.17 KB
/
docker-compose.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
version: "3.4"
services:
media:
image: openslides-media-dev
environment:
- MEDIA_DATABASE_HOST=postgres
- MEDIA_DATABASE_PORT=5432
- MEDIA_DATABASE_NAME=openslides
- AUTOUPDATE_HOST=dummy_autoupdate
- AUTOUPDATE_PORT=9012
- MESSAGE_BUS_HOST=redis
- CACHE_HOST=redis
- OPENSLIDES_DEVELOPMENT=1
- MEDIA_ADD_TEST_FILES=1
volumes:
- ./src:/app/src
ports:
- 9006:9006
dummy_autoupdate:
image: openslides-media-dummy-autoupdate
volumes:
- ./tests/dummy_autoupdate:/app/dummy_autoupdate
tests:
image: openslides-media-tests
environment:
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- media
- postgres
- dummy_autoupdate
volumes:
- ./tests:/app/tests
postgres:
image: postgres:13
environment:
- POSTGRES_USER=openslides
- POSTGRES_PASSWORD=openslides
- POSTGRES_DB=openslides
redis:
image: redis:alpine
ports:
- "6379:6379"