-
Notifications
You must be signed in to change notification settings - Fork 293
/
docker-compose.yml
92 lines (91 loc) · 2.07 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
version: '3.8'
services:
postgres:
image: postgres:14
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-d", "paddles", "-U", "admin" ]
timeout: 5s
interval: 10s
retries: 2
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=password
- APP_DB_USER=admin
- APP_DB_PASS=password
- APP_DB_NAME=paddles
volumes:
- ./db:/docker-entrypoint-initdb.d/
ports:
- 5432:5432
paddles:
image: quay.io/ceph-infra/paddles
environment:
PADDLES_SERVER_HOST: 0.0.0.0
PADDLES_SQLALCHEMY_URL: postgresql+psycopg2://admin:password@postgres:5432/paddles
depends_on:
postgres:
condition: service_healthy
links:
- postgres
healthcheck:
test: ["CMD", "curl", "-f", "http://0.0.0.0:8080"]
timeout: 5s
interval: 30s
retries: 2
ports:
- 8080:8080
pulpito:
image: quay.io/ceph-infra/pulpito
environment:
PULPITO_PADDLES_ADDRESS: http://paddles:8080
depends_on:
paddles:
condition: service_healthy
links:
- paddles
healthcheck:
test: ["CMD", "curl", "-f", "http://0.0.0.0:8081"]
timeout: 5s
interval: 10s
retries: 2
ports:
- 8081:8081
beanstalk:
build: ../../beanstalk/alpine
ports:
- "11300:11300"
teuthology:
build:
context: ../../
dockerfile: ./docs/docker-compose/teuthology/Dockerfile
args:
SSH_PRIVKEY_FILE: $SSH_PRIVKEY_FILE
depends_on:
paddles:
condition: service_healthy
links:
- paddles
- beanstalk
environment:
SSH_PRIVKEY:
SSH_PRIVKEY_FILE:
MACHINE_TYPE:
TESTNODES:
TEUTHOLOGY_WAIT:
TEUTH_BRANCH:
testnode:
build:
context: ./testnode
dockerfile: ./Dockerfile
deploy:
replicas: 3
depends_on:
paddles:
condition: service_healthy
links:
- paddles
ports:
- "22"
environment:
SSH_PUBKEY:
platform: linux/amd64