-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconvox.yml
50 lines (50 loc) · 1.07 KB
/
convox.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
resources:
cache:
type: redis
services:
web:
resources:
- cache
build:
path: .
manifest: ./dockerfiles/web/Dockerfile
command: python manage.py runserver
domain: playground.pokerbots.org
environment:
- PRODUCTION=True
- WEB=True
- SQLALCHEMY_DATABASE_URI
- CELERY_BROKER_URL
- MESSAGE_QUEUE_URL
- REDIS_URL
- SECRET_KEY
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- S3_REGION
- S3_BUCKET
- ADMIN_PASSWORD
port: https:5001
scale:
cpu: 256
memory: 256
worker:
resources:
- cache
build:
path: .
manifest: ./dockerfiles/worker/Dockerfile
command: celery -A server.celery_app worker --loglevel=info --concurrency=1 --without-gossip
environment:
- PRODUCTION=True
- SQLALCHEMY_DATABASE_URI
- CELERY_BROKER_URL
- MESSAGE_QUEUE_URL
- REDIS_URL
- SECRET_KEY
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- S3_REGION
- S3_BUCKET
scale:
cpu: 256
memory: 500