forked from mendersoftware/integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.demo.yml
94 lines (82 loc) · 2.9 KB
/
docker-compose.demo.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: '2'
services:
mender-useradm:
command: server --automigrate
volumes:
- ./keys/useradm/private.key:/etc/useradm/rsa/private.pem
mender-device-auth:
command: server --automigrate
volumes:
- ./keys/deviceauth/private.key:/etc/deviceauth/rsa/private.pem
mender-inventory:
command: server --automigrate
mender-api-gateway:
ports:
- "443:443"
networks:
mender:
aliases:
- docker.mender.io
volumes:
- ./certs/api-gateway/cert.crt:/var/www/mendersoftware/cert/cert.crt
- ./certs/api-gateway/private.key:/var/www/mendersoftware/cert/private.key
environment:
ALLOWED_HOSTS: localhost docker.mender.io
HSTS_MAX_AGE: 0
storage-proxy:
ports:
- "9000:9000"
networks:
mender:
aliases:
- s3.docker.mender.io
environment:
# use nginx syntax for rate limiting, see
# https://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate
# Examples:
# 1m - 1MB/s
# 512k - 512kB/s
DOWNLOAD_SPEED: 3m
MAX_CONNECTIONS: 30
volumes:
- ./certs/storage-proxy/cert.crt:/var/www/storage-proxy/cert/cert.crt
- ./certs/storage-proxy/private.key:/var/www/storage-proxy/cert/private.key
- ./storage-proxy/nginx.conf.demo:/usr/local/openresty/nginx/conf/nginx.conf
mender-deployments:
command: server --automigrate
volumes:
- ./certs/storage-proxy/cert.crt:/etc/ssl/certs/s3.docker.mender.io.crt
environment:
STORAGE_BACKEND_CERT: /etc/ssl/certs/s3.docker.mender.io.crt
DEPLOYMENTS_AWS_AUTH_KEY: minio
DEPLOYMENTS_AWS_AUTH_SECRET: minio123
DEPLOYMENTS_AWS_URI: https://s3.docker.mender.io:9000
minio:
networks:
mender:
aliases:
- minio.s3.docker.mender.io
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
mender-gui:
environment:
# enable demo mode for UI ["true"/"false"]
DEMO: "true"
mender-conductor:
environment:
- CONDUCTOR_JAVA_OPTS=-Xms128m -Xmx128m
ports:
- "8080:8080"
mender-elasticsearch:
environment:
- ES_NETWORK_HOST=0.0.0.0
- ES_JAVA_OPTS=-Xms0m -Xmx100m
volumes:
- ./conductor/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
mender-redis:
volumes:
- ./conductor/redis/redis.conf:/etc/redis/redis.conf
- ./conductor/redis/entrypoint.sh:/redis/entrypoint.sh
- /var/lib/redis
entrypoint: /redis/entrypoint.sh