-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.yml
58 lines (58 loc) · 1.15 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
services:
mysql:
image: mysql:5.7
command: ['mysqld', '--character-set-server=utf8', '--collation-server=utf8_general_ci']
environment:
MYSQL_DATABASE: vaas
MYSQL_ROOT_PASSWORD: password
healthcheck:
test: ["CMD", "mysqladmin", "-uroot", "-ppassword", "ping"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
redis:
image: redis:alpine
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 1s
timeout: 3s
retries: 30
start_period: 3s
uwsgi:
build:
context: ./
dockerfile: Dockerfile
ports:
- 3030:3030
depends_on:
- redis
- mysql
celery-worker:
build:
context: ./
dockerfile: Dockerfile
depends_on:
- redis
- mysql
celery-cron-worker:
build:
context: ./
dockerfile: Dockerfile
depends_on:
- redis
- mysql
celery-routes-test:
build:
context: ./
dockerfile: Dockerfile
depends_on:
- redis
- mysql
celery-scheduler:
build:
context: ./
dockerfile: Dockerfile
depends_on:
- redis
- mysql