-
Notifications
You must be signed in to change notification settings - Fork 79
/
docker-compose.enterprise.yml
137 lines (119 loc) · 5.3 KB
/
docker-compose.enterprise.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
services:
# redis cache
mender-redis:
image: redis:6.0.5-alpine
extends:
file: common.yml
service: mender-base
networks:
- mender
mender-create-artifact-worker:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/create-artifact-worker:${MENDER_SERVER_TAG}
# subsitute services with 'enterprise' versions
mender-deployments:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/deployments${MENDER_LEGACY_IMAGE:+-enterprise}:${MENDER_SERVER_TAG}
environment:
DEPLOYMENTS_ENABLE_AUDIT: 1
mender-inventory:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/inventory${MENDER_LEGACY_IMAGE:+-enterprise}:${MENDER_SERVER_TAG}
environment:
INVENTORY_REDIS_CONNECTION_STRING: "redis://mender-redis:6379"
INVENTORY_REDIS_LIMITS_EXPIRE_SEC: "1800"
mender-iot-manager:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/iot-manager:${MENDER_SERVER_TAG}
mender-workflows-server:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/workflows${MENDER_LEGACY_IMAGE:+-enterprise}:${MENDER_SERVER_TAG}
mender-workflows-worker:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/workflows${MENDER_LEGACY_IMAGE:+-enterprise-worker}:${MENDER_SERVER_TAG}
environment:
HAVE_AUDITLOGS: 1
HAVE_DEVICECONFIG: 1
DEVICECONFIG_ADDR: "mender-deviceconfig:8080"
# add services
mender-tenantadm:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/tenantadm:${MENDER_SERVER_TAG}
environment:
TENANTADM_ORCHESTRATOR_ADDR: http://mender-workflows-server:8080/
TENANTADM_ENABLE_SELF_SERVICE_SIGN_UP: 1
extends:
file: common.yml
service: mender-base
networks:
- mender
depends_on:
- mender-mongo
# configure the rest
mender-device-auth:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/deviceauth${MENDER_LEGACY_IMAGE:+-enterprise}:${MENDER_SERVER_TAG}
environment:
DEVICEAUTH_REDIS_CONNECTION_STRING: "redis://mender-redis:6379"
DEVICEAUTH_REDIS_LIMITS_EXPIRE_SEC: "3600"
DEVICEAUTH_TENANTADM_ADDR: 'http://mender-tenantadm:8080'
DEVICEAUTH_HAVE_ADDONS: 1
DEVICEAUTH_ENABLE_AUDIT: 1
mender-useradm:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/useradm${MENDER_LEGACY_IMAGE:+-enterprise}:${MENDER_SERVER_TAG}
environment:
USERADM_REDIS_CONNECTION_STRING: "redis://mender-redis:6379"
USERADM_REDIS_LIMITS_EXPIRE_SEC: "3600"
USERADM_TENANTADM_ADDR: 'http://mender-tenantadm:8080'
USERADM_HAVE_ADDONS: 1
USERADM_ENABLE_AUDIT: 1
mender-auditlogs:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/auditlogs:${MENDER_SERVER_TAG}
extends:
file: common.yml
service: mender-base
networks:
- mender
depends_on:
- mender-mongo
command: server --automigrate
labels:
mender.healthcheck.path: "/api/internal/v1/auditlogs/health"
mender-api-gateway:
volumes:
- ./config/traefik/traefik.enterprise.yaml:/etc/traefik/config/traefik.enterprise.yaml:ro
mender-gui:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/gui:${MENDER_SERVER_TAG}
environment:
HAVE_MULTITENANT: 1
HAVE_ENTERPRISE: 1
HAVE_AUDITLOGS: 1
HAVE_DEVICECONFIG: 1
HAVE_MONITOR: 1
mender-deviceconfig:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/deviceconfig:${MENDER_SERVER_TAG}
environment:
DEVICECONFIG_ENABLE_AUDIT: 1
mender-deviceconnect:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/deviceconnect:${MENDER_SERVER_TAG}
environment:
DEVICECONNECT_ENABLE_AUDIT: 1
mender-generate-delta-worker:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/generate-delta-worker:${MENDER_SERVER_TAG}
extends:
file: common.yml
service: mender-base
environment:
- WORKFLOWS_MONGO_URL=mongodb://mender-mongo:27017
- GENERATE_DELTA_DEPLOYMENTS_URL=http://mender-deployments:8080
networks:
- mender
depends_on:
- mender-mongo
- mender-nats
mender-devicemonitor:
image: ${MENDER_SERVER_ENTERPRISE_REGISTRY}/${MENDER_SERVER_ENTERPRISE_REPOSITORY}/devicemonitor:${MENDER_SERVER_TAG}
command: server --automigrate
extends:
file: common.yml
service: mender-base
networks:
- mender
depends_on:
- mender-mongo
labels:
mender.healthcheck.path: "/api/internal/v1/devicemonitor/health"
networks:
mender: null