-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
77 lines (68 loc) · 2.48 KB
/
compose.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
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 2023 Axway Software SA and its affiliates. All rights reserved.
#
#
version: "3.5"
services:
eventrouter:
image: eventrouter/eventrouter:3.0
environment:
## Set parameter to yes if you accept the applicable General Terms and Conditions,
## located at https://www.axway.com/en/legal/contract-documents
ACCEPT_GENERAL_CONDITIONS: "NO"
#
# Parameters referenced in the template configuration
#
ER_INSTANCE_ID: "eventrouter-1"
ER_QLT_SERVER_CERT: /run/secrets/qlt_server_cert.pem
ER_QLT_SERVER_KEY: /run/secrets/qlt_server_key.pem
ER_QLT_SERVER_CA: /run/secrets/qlt_server_ca.pem
ER_SENTINEL_CA: /run/secrets/sentinel_ca.pem
ER_KAFKA_SERVER_CA: /run/secrets/kafka_ca.pem
ER_KAFKA_CLIENT_CERT: /run/secrets/kafka_client_cert.pem
ER_KAFKA_CLIENT_KEY: /run/secrets/kafka_client_key.pem
#
# General parameters
#
ER_LOG_LEVEL: "info" # supported values: trace, debug, info, warn, error, fatal
#ER_CONFIG_FILE: "./event-router.yml" # path to config file
#ER_PORT: "8080" # http port
#ER_HOST: "0.0.0.0" # http host
#ER_LOG_USE_LOCALTIME: "false" # log uses local time
ports:
- "1325:1325" # same ports as the ones configured as input in event-router.yml configuration
- "8080:8080" # port used to expose Prometheus metrics: http://host:8080/metrics
volumes:
# volume used to map the Event Router configuration.
- ./conf/event-router.yml:/opt/axway/event-router.yml
# volume used to persist file readers and writers data.
- eventrouter_data:/opt/axway/data
# Uncomment the following lines to enable the necessary secrets
#secrets:
#- qlt_server_cert.pem
#- qlt_server_key.pem
#- qlt_server_ca.pem
#- sentinel_ca.pem
#- kafka_server_ca.pem
#- kafka_client_cert.pem
#- kafka_client_key.pem
volumes:
eventrouter_data:
driver: local
# Uncomment the following lines to map the necessary certificates as secrets.
#secrets:
#qlt_server_cert.pem:
# file: ./conf/qlt_server_cert.pem
#qlt_server_key.pem:
# file: ./conf/qlt_server_key.pem
#qlt_server_ca.pem:
# file: ./conf/qlt_server_ca.pem
#sentinel_ca.pem:
# file: ./conf/sentinel_ca.pem
#kafka_server_ca.pem:
# file: ./conf/kafka_ca.pem
#kafka_client_cert.pem:
# file: ./conf/kafka_client_cert.pem
#kafka_client_key.pem:
# file: ./conf/kafka_client_key.pem