-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
78 lines (72 loc) · 1.85 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
version: "3.5"
volumes:
bobsled-db:
services:
db:
image: "postgres:11"
hostname: "db"
ports:
- "5435:5432"
environment:
POSTGRES_PASSWORD: bobsled
POSTGRES_USER: bobsled
POSTGRES_DB: bobsled
volumes:
- bobsled-db:/var/lib/postgresql/data
web:
build: .
volumes:
- .:/code
ports:
- "9000:9000"
environment:
- BOBSLED_SECRET_KEY=something-secret
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION=us-east-1
- BOBSLED_TASKS_FILENAME=bobsled/tests/tasks/tasks.yml
- BOBSLED_GITHUB_API_KEY
- BOBSLED_ENVIRONMENT_FILENAME
- BOBSLED_ENVIRONMENT_DIRNAME
- BOBSLED_CONFIG_GITHUB_USER
- BOBSLED_CONFIG_GITHUB_REPO
- BOBSLED_TASKS_DIRNAME
- BOBSLED_RUNNER
- BOBSLED_ECS_CLUSTER
- BOBSLED_SUBNET_ID
- BOBSLED_SECURITY_GROUP_ID
- BOBSLED_LOG_GROUP
- BOBSLED_ROLE_ARN
- BOBSLED_STORAGE
- BOBSLED_DATABASE_URI
entrypoint: ["poetry", "run", "python", "-m", "bobsled.web"]
depends_on:
- db
- beat
beat:
build: .
volumes:
- .:/code
environment:
- BOBSLED_SECRET_KEY=something-secret
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION=us-east-1
- BOBSLED_TASKS_FILENAME=bobsled/tests/tasks/tasks.yml
- BOBSLED_GITHUB_API_KEY
- BOBSLED_ENVIRONMENT_PROVIDER
- BOBSLED_ENVIRONMENT_PARAMSTORE_PREFIX
- BOBSLED_TASKS_GITHUB_USER
- BOBSLED_TASKS_GITHUB_REPO
- BOBSLED_TASKS_DIRNAME
- BOBSLED_RUNNER
- BOBSLED_ECS_CLUSTER
- BOBSLED_SUBNET_ID
- BOBSLED_SECURITY_GROUP
- BOBSLED_LOG_GROUP
- BOBSLED_ROLE_ARN
- BOBSLED_STORAGE
- BOBSLED_DATABASE_URI
entrypoint: ["poetry", "run", "python", "-m", "bobsled.beat"]
depends_on:
- db