-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
38 lines (35 loc) · 931 Bytes
/
docker-compose.yaml
File metadata and controls
38 lines (35 loc) · 931 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
version: "3"
services:
worker:
build:
context: .
dockerfile: ./docker/dockerfile.worker
volumes:
- ./githuborganizer:/app/githuborganizer
- ./github_app.private-key.pem:/app/github_app.private-key.pem
environment:
- 'CELERY_BROKER=pyamqp://guest@rabbitmq//'
- 'DEBUG=true'
- 'GITHUB_APP_ID=40145'
#- 'PROCESS_INSTALLS_INTERVAL=30'
depends_on:
- rabbitmq
www:
build:
context: .
dockerfile: ./docker/dockerfile.www
volumes:
- ./githuborganizer:/app/githuborganizer
- ./githuborganizer/www.py:/app/main.py
- ./github_app.private-key.pem:/app/github_app.private-key.pem
environment:
- 'CELERY_BROKER=pyamqp://guest@rabbitmq//'
- 'DEBUG=true'
- 'GITHUB_APP_ID=40145'
#- 'PROCESS_INSTALLS_INTERVAL=30'
ports:
- "80:80"
depends_on:
- rabbitmq
rabbitmq:
image: rabbitmq