-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
96 lines (94 loc) · 2.08 KB
/
docker-compose.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
services:
api:
build:
context: autotest-api
target: dev
image: markus-autotest-api-dev:1.0.0
container_name: autotest-api
volumes:
- ./autotest-api:/app:cached
environment:
- REDIS_URL=redis://redis:6379/
- FLASK_HOST=0.0.0.0
ports:
- '5000:5000'
depends_on:
- redis
networks:
- default
- markus_dev
backend_classic:
build:
context: autotest-backend-classic
target: dev
args:
- ADDITIONAL_REQUIREMENTS=postgresql-client libpq-dev python3-venv
image: autotest-backend-classic-dev:1.0.0
volumes:
- ./autotest-backend-classic:/app
- workspace:/workspace
- ./testers:/testers
- ./plugins:/plugins
environment:
- REDIS_URL=redis://redis:6379/
- AUTOTESTER_CONFIG=/app/.dockerfiles/docker-config.yml
- PGHOST=postgres
- PGUSER=docker
- PGPASSWORD=docker
depends_on:
- redis
- api
- postgres
backend_docker:
build:
context: autotest-backend-docker
target: dev
image: autotest-backend-docker-dev:1.0.0
volumes:
- ./autotest-backend-docker:/app:cached
- /var/run/docker.sock:/var/run/docker.sock
- ./testers:/testers
- ./plugins:/plugins
environment:
- REDIS_URL=redis://redis:6379/
- REGISTRY_URL=localhost:5001
depends_on:
- redis
- api
- registry
deploy:
replicas: 2
registry:
image: registry:2.8.1
environment:
- REGISTRY_HTTP_ADDR=0.0.0.0:5001
volumes:
- registry:/var/lib/registry
ports:
- '5001:5001'
redis:
image: redis:7.0.5-alpine
volumes:
- redis_data:/data
ports:
- 6379
postgres:
image: postgres:12.11
environment:
- POSTGRES_PASSWORD=docker
- POSTGRES_USER=docker
rq_dashboard:
image: eoranged/rq-dashboard
environment:
- RQ_DASHBOARD_REDIS_URL=redis://redis:6379/
ports:
- '9181:9181'
depends_on:
- redis
volumes:
redis_data:
workspace:
registry:
networks:
markus_dev:
name: markus_dev