-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-macOS.yml
79 lines (74 loc) · 1.91 KB
/
docker-compose-macOS.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
72
73
74
75
76
77
78
79
basepython:
build: .
command: "true"
volumes:
- .:/app
- ./config:/config
dns:
- 172.16.24.190
- 172.17.24.190
- 10.6.10.208
- 8.8.8.8
- 8.8.4.4
env_file:
- .env
api:
extends:
service: basepython
hostname: api
command: ./startup.sh
# log_driver: "syslog"
expose:
- "8000"
external_links:
- rosettahomeservices_mongodb_1:mongo
- rosettahomeservices_elasticsearch_1:es
- rosettahomeservices_influxdb_1:influx
- rosettahomeservices_rabbitmq_1:mq
workers:
extends:
service: basepython
command: celery -A lablog.workers worker --loglevel=info --autoreload
# log_driver: "syslog"
external_links:
- rosettahomeservices_mongodb_1:mongo
- rosettahomeservices_elasticsearch_1:es
- rosettahomeservices_influxdb_1:influx
- rosettahomeservices_rabbitmq_1:mq
environment:
C_FORCE_ROOT: 1
scheduler:
extends:
service: basepython
command: celery -A lablog.workers beat --loglevel=info
# log_driver: "syslog"
external_links:
- rosettahomeservices_mongodb_1:mongo
- rosettahomeservices_elasticsearch_1:es
- rosettahomeservices_influxdb_1:influx
- rosettahomeservices_rabbitmq_1:mq
environment:
C_FORCE_ROOT: 1
grafana:
image: grafana/grafana
hostname: grafana
# log_driver: "syslog"
expose:
- "3000"
external_links:
- rosettahomeservices_influxdb_1:influx
environment:
GF_SERVER_ROOT_URL: "%(protocol)s://%(domain)s:%(http_port)s/grafana"
nginx:
image: nginx:1.7
# log_driver: "syslog"
links:
- api:backend
- grafana:graf
volumes:
- ./config/nginx.conf:/etc/nginx/conf.d/default.conf
- ./config/nginx:/etc/nginx/ssl
- .:/app
ports:
- "80:80"
- "443:443"