-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathlocal.yml
71 lines (66 loc) · 1.26 KB
/
local.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
version: '3'
services:
django: &django
build:
context: .
dockerfile: ./compose/local/django/Dockerfile
image: stremflow
container_name: stremflow
environment:
dockerrun: yes
depends_on:
- redis
- db
ports:
- "8001:8001"
volumes:
- .:/app:z
command: /start
celeryworker:
<<: *django
image: stremflow_celeryworker
container_name: stremflow_celeryworker
environment:
dockerrun: yes
ports: []
depends_on:
- redis
- db
command: /start-celeryworker
celerybeat:
<<: *django
image: stremflow_celerybeat
container_name: stremflow_celerybeat
environment:
dockerrun: yes
ports: []
depends_on:
- redis
- db
command: /start-celerybeat
flower:
<<: *django
image: stremflow_flower
container_name: stremflow_flower
environment:
dockerrun: yes
ports:
- "5555:5555"
depends_on:
- redis
- db
command: /start-flower
redis:
image: redis:6
restart: always
container_name: stremflow_redis
expose:
- "6379"
db:
image: mysql:latest
restart: always
environment:
MYSQL_DATABASE: bomboo
MYSQL_ROOT_PASSWORD: 123456
expose:
- "3306"