forked from mendersoftware/integration
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.enterprise.yml
119 lines (104 loc) · 3.64 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
version: '2.1'
services:
# redis cache
mender-redis:
image: redis:6.0.5-alpine
extends:
file: common.yml
service: mender-base
networks:
- mender
# subsitute services with 'enterprise' versions
mender-deployments:
image: registry.mender.io/mendersoftware/deployments-enterprise:mender-master
environment:
DEPLOYMENTS_ENABLE_AUDIT: 1
mender-inventory:
image: registry.mender.io/mendersoftware/inventory-enterprise:mender-master
mender-workflows-server:
image: registry.mender.io/mendersoftware/workflows-enterprise:mender-master
mender-workflows-worker:
image: registry.mender.io/mendersoftware/workflows-enterprise-worker:mender-master
environment:
HAVE_AUDITLOGS: 1
HAVE_DEVICECONFIG: 1
DEVICECONFIG_ADDR: "mender-deviceconfig:8080"
# add services
mender-tenantadm:
image: registry.mender.io/mendersoftware/tenantadm:mender-master
environment:
TENANTADM_ORCHESTRATOR_ADDR: http://mender-workflows-server:8080/
extends:
file: common.yml
service: mender-base
networks:
- mender
depends_on:
- mender-mongo
# configure the rest
mender-device-auth:
image: registry.mender.io/mendersoftware/deviceauth-enterprise:mender-master
environment:
DEVICEAUTH_REDIS_ADDR: "mender-redis:6379"
DEVICEAUTH_REDIS_USERNAME: ""
DEVICEAUTH_REDIS_PASSWORD: ""
DEVICEAUTH_REDIS_DB: "1"
DEVICEAUTH_REDIS_TIMEOUT_SEC: "1"
DEVICEAUTH_REDIS_LIMITS_EXPIRE_SEC: "3600"
DEVICEAUTH_TENANTADM_ADDR: 'http://mender-tenantadm:8080'
DEVICEAUTH_HAVE_ADDONS: 1
DEVICEAUTH_ENABLE_AUDIT: 1
mender-useradm:
image: registry.mender.io/mendersoftware/useradm-enterprise:mender-master
environment:
USERADM_REDIS_ADDR: "mender-redis:6379"
USERADM_REDIS_USERNAME: ""
USERADM_REDIS_PASSWORD: ""
USERADM_REDIS_DB: "2"
USERADM_REDIS_TIMEOUT_SEC: "1"
USERADM_REDIS_LIMITS_EXPIRE_SEC: "3600"
USERADM_TENANTADM_ADDR: 'http://mender-tenantadm:8080'
USERADM_HAVE_ADDONS: 1
USERADM_ENABLE_AUDIT: 1
mender-auditlogs:
image: registry.mender.io/mendersoftware/auditlogs:mender-master
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:
environment:
HAVE_MULTITENANT: 1
HAVE_ENTERPRISE: 1
HAVE_AUDITLOGS: 1
HAVE_DEVICECONFIG: 1
HAVE_MONITOR: 1
mender-deviceconfig:
environment:
DEVICECONFIG_ENABLE_AUDIT: 1
mender-deviceconnect:
environment:
DEVICECONNECT_ENABLE_AUDIT: 1
mender-devicemonitor:
image: registry.mender.io/mendersoftware/devicemonitor:mender-master
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