-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (39 loc) · 785 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (39 loc) · 785 Bytes
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
x-app: &default-app
build:
target: base
image: codepraise-api-python:base
volumes:
- ./config/secrets:/app/config/secrets
- ./app/infrastructure/gitrepo/repostore:/app/app/infrastructure/gitrepo/repostore
environment:
- API_URL=http://api:8000
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION
- CLONE_QUEUE
- REPORT_QUEUE
- GH_TOKEN
- MAX_CLONE_SIZE
services:
db-migrations:
<<: *default-app
api:
<<: *default-app
depends_on:
- db-migrations
ports:
- ${PORT:-8000}:8000
worker:
<<: *default-app
console:
<<: *default-app
depends_on:
- db-migrations
profiles:
- debug
bash:
<<: *default-app
tty: true
profiles:
- debug
command: bash