-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
173 lines (169 loc) · 10.9 KB
/
docker-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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
version: '2.4'
services:
# PowerAuth Server PostgreSQL Database
powerauth-server-postgresql:
image: powerauth/server-postgresql
container_name: powerauth-server-postgresql
ports:
- "23316:5432"
environment:
- POSTGRES_PASSWORD=${POWERAUTH_POSTGRESQL_PASSWORD}
volumes:
- ${POWERAUTH_POSTGRESQL_PATH}:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U powerauth"]
interval: 5s
timeout: 5s
retries: 30
# PowerAuth Push Server PostgreSQL Database
powerauth-push-postgresql:
image: powerauth/push-postgresql
container_name: powerauth-push-postgresql
ports:
- "23336:5432"
environment:
- POSTGRES_PASSWORD=${POWERAUTH_PUSH_POSTGRESQL_PASSWORD}
volumes:
- ${POWERAUTH_PUSH_POSTGRESQL_PATH}:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U powerauth"]
interval: 5s
timeout: 5s
retries: 30
# PowerAuth Server
powerauth-java-server:
image: powerauth/server
container_name: powerauth-server
ports:
- "20010:8080"
mem_limit: ${JAVA_PROCESS_MEMORY_LIMIT_OPENJ9}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/powerauth-java-server"]
interval: 10s
timeout: 10s
retries: 30
environment:
- POWERAUTH_SERVER_DATASOURCE_URL=${POWERAUTH_SERVER_DATASOURCE_URL}
- POWERAUTH_SERVER_DATASOURCE_USERNAME=${POWERAUTH_SERVER_DATASOURCE_USERNAME}
- POWERAUTH_SERVER_DATASOURCE_PASSWORD=${POWERAUTH_SERVER_DATASOURCE_PASSWORD}
- POWERAUTH_SERVER_DATASOURCE_DRIVER=${POWERAUTH_SERVER_DATASOURCE_DRIVER}
- POWERAUTH_SERVER_JPA_DDL_AUTO=${POWERAUTH_SERVER_JPA_DDL_AUTO}
- POWERAUTH_SERVER_JPA_CHARSET=${POWERAUTH_SERVER_JPA_CHARSET}
- POWERAUTH_SERVER_JPA_CHARACTER_ENCODING=${POWERAUTH_SERVER_JPA_CHARACTER_ENCODING}
- POWERAUTH_SERVER_JPA_USE_UNICODE=${POWERAUTH_SERVER_JPA_USE_UNICODE}
- POWERAUTH_SERVER_JPA_DATABASE_PLATFORM=${POWERAUTH_SERVER_JPA_DATABASE_PLATFORM}
- POWERAUTH_SERVER_JPA_LOCK_TIMEOUT=${POWERAUTH_SERVER_JPA_LOCK_TIMEOUT}
- POWERAUTH_SERVER_DATASOURCE_JNDI_NAME=${POWERAUTH_SERVER_DATASOURCE_JNDI_NAME}
- POWERAUTH_SERVER_SPRING_JMX_ENABLED=${POWERAUTH_SERVER_SPRING_JMX_ENABLED}
- POWERAUTH_SERVER_SPRING_JMX_DEFAULT_DOMAIN=${POWERAUTH_SERVER_SPRING_JMX_DEFAULT_DOMAIN}
- POWERAUTH_SERVER_HTTP_PROXY_ENABLED=${POWERAUTH_SERVER_HTTP_PROXY_ENABLED}
- POWERAUTH_SERVER_HTTP_PROXY_HOST=${POWERAUTH_SERVER_HTTP_PROXY_HOST}
- POWERAUTH_SERVER_HTTP_PROXY_PORT=${POWERAUTH_SERVER_HTTP_PROXY_PORT}
- POWERAUTH_SERVER_HTTP_PROXY_USERNAME=${POWERAUTH_SERVER_HTTP_PROXY_USERNAME}
- POWERAUTH_SERVER_HTTP_PROXY_PASSWORD=${POWERAUTH_SERVER_HTTP_PROXY_PASSWORD}
- POWERAUTH_SERVER_HTTP_CONNECTION_TIMEOUT=${POWERAUTH_SERVER_HTTP_CONNECTION_TIMEOUT}
- POWERAUTH_SERVER_TOKEN_TIMESTAMP_VALIDITY=${POWERAUTH_SERVER_TOKEN_TIMESTAMP_VALIDITY}
- POWERAUTH_SERVER_RESTRICT_ACCESS=${POWERAUTH_SERVER_RESTRICT_ACCESS}
- POWERAUTH_SERVER_RECOVERY_MAX_FAILED_ATTEMPTS=${POWERAUTH_SERVER_RECOVERY_MAX_FAILED_ATTEMPTS}
- POWERAUTH_SERVER_MASTER_DB_ENCRYPTION_KEY=${POWERAUTH_SERVER_MASTER_DB_ENCRYPTION_KEY}
- POWERAUTH_SERVER_SECURE_VAULT_ENABLE_BIOMETRY=${POWERAUTH_SERVER_SECURE_VAULT_ENABLE_BIOMETRY}
- POWERAUTH_SERVER_APPLICATION_NAME=${POWERAUTH_SERVER_APPLICATION_NAME}
- POWERAUTH_SERVER_APPLICATION_DISPLAY_NAME=${POWERAUTH_SERVER_APPLICATION_DISPLAY_NAME}
- POWERAUTH_SERVER_APPLICATION_ENVIRONMENT=${POWERAUTH_SERVER_APPLICATION_ENVIRONMENT}
- POWERAUTH_SERVER_CORRELATION_HEADER_ENABLED=${POWERAUTH_SERVER_CORRELATION_HEADER_ENABLED}
- POWERAUTH_SERVER_CORRELATION_HEADER_NAME=${POWERAUTH_SERVER_CORRELATION_HEADER_NAME}
- POWERAUTH_SERVER_CORRELATION_HEADER_VALUE_VALIDATION_REGEXP=${POWERAUTH_SERVER_CORRELATION_HEADER_VALUE_VALIDATION_REGEXP}
- POWERAUTH_SERVER_LOGGING=${POWERAUTH_SERVER_LOGGING}
- POWERAUTH_ADMIN_POWERAUTH_SERVICE_URL=${POWERAUTH_ADMIN_POWERAUTH_SERVICE_URL}
- POWERAUTH_ADMIN_SECURITY_CLIENT_TOKEN=${POWERAUTH_ADMIN_SECURITY_CLIENT_TOKEN}
- POWERAUTH_ADMIN_SECURITY_CLIENT_SECRET=${POWERAUTH_ADMIN_SECURITY_CLIENT_SECRET}
- POWERAUTH_ADMIN_ACCEPT_INVALID_SSL_CERTIFICATE=${POWERAUTH_ADMIN_ACCEPT_INVALID_SSL_CERTIFICATE}
- POWERAUTH_ADMIN_SECURITY_METHOD=${POWERAUTH_ADMIN_SECURITY_METHOD}
- POWERAUTH_ADMIN_LDAP_USER_DN_PATTERNS=${POWERAUTH_ADMIN_LDAP_USER_DN_PATTERNS}
- POWERAUTH_ADMIN_LDAP_USER_SEARCH_BASE=${POWERAUTH_ADMIN_LDAP_USER_SEARCH_BASE}
- POWERAUTH_ADMIN_LDAP_USER_SEARCH_FILTER=${POWERAUTH_ADMIN_LDAP_USER_SEARCH_FILTER}
- POWERAUTH_ADMIN_LDAP_GROUP_SEARCH_BASE=${POWERAUTH_ADMIN_LDAP_GROUP_SEARCH_BASE}
- POWERAUTH_ADMIN_LDAP_GROUP_SEARCH_FILTER=${POWERAUTH_ADMIN_LDAP_GROUP_SEARCH_FILTER}
- POWERAUTH_ADMIN_LDAP_GROUP_ROLE_ATTRIBUTE=${POWERAUTH_ADMIN_LDAP_GROUP_ROLE_ATTRIBUTE}
- POWERAUTH_ADMIN_LDAP_URL=${POWERAUTH_ADMIN_LDAP_URL}
- POWERAUTH_ADMIN_LDAP_PORT=${POWERAUTH_ADMIN_LDAP_PORT}
- POWERAUTH_ADMIN_LDAP_ROOT=${POWERAUTH_ADMIN_LDAP_ROOT}
- POWERAUTH_ADMIN_LDAP_LDIF=${POWERAUTH_ADMIN_LDAP_LDIF}
- POWERAUTH_ADMIN_LDAP_MANAGER_DN=${POWERAUTH_ADMIN_LDAP_MANAGER_DN}
- POWERAUTH_ADMIN_LDAP_MANAGER_PASSWORD=${POWERAUTH_ADMIN_LDAP_MANAGER_PASSWORD}
- POWERAUTH_ADMIN_AD_DOMAIN=${POWERAUTH_ADMIN_AD_DOMAIN}
- POWERAUTH_ADMIN_AD_URL=${POWERAUTH_ADMIN_AD_URL}
- POWERAUTH_ADMIN_AD_ROOT=${POWERAUTH_ADMIN_AD_ROOT}
- POWERAUTH_ADMIN_AD_USER_SEARCH_FILTER=${POWERAUTH_ADMIN_AD_USER_SEARCH_FILTER}
- POWERAUTH_ADMIN_APPLICATION_NAME=${POWERAUTH_ADMIN_APPLICATION_NAME}
- POWERAUTH_ADMIN_APPLICATION_DISPLAY_NAME=${POWERAUTH_ADMIN_APPLICATION_DISPLAY_NAME}
- POWERAUTH_ADMIN_APPLICATION_ENVIRONMENT=${POWERAUTH_ADMIN_APPLICATION_ENVIRONMENT}
- POWERAUTH_ADMIN_LOGGING=${POWERAUTH_ADMIN_LOGGING}
- JAVA_OPTS=${POWERAUTH_JAVA_OPTS_OPENJ9}
depends_on:
powerauth-server-postgresql:
condition: service_healthy
# PowerAuth Push Server
powerauth-push-server:
image: powerauth/push-server
container_name: powerauth-push-server
ports:
- "20030:8080"
mem_limit: ${JAVA_PROCESS_MEMORY_LIMIT_OPENJ9}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/powerauth-push-server"]
interval: 10s
timeout: 10s
retries: 30
environment:
- PUSH_SERVER_POWERAUTH_SERVICE_URL=${PUSH_SERVER_POWERAUTH_SERVICE_URL}
- PUSH_SERVER_PUSH_SERVICE_URL=${PUSH_SERVER_PUSH_SERVICE_URL}
- PUSH_SERVER_SECURITY_CLIENT_TOKEN=${PUSH_SERVER_SECURITY_CLIENT_TOKEN}
- PUSH_SERVER_SECURITY_CLIENT_SECRET=${PUSH_SERVER_SECURITY_CLIENT_SECRET}
- PUSH_SERVER_ACCEPT_INVALID_SSL_CERTIFICATE=${PUSH_SERVER_ACCEPT_INVALID_SSL_CERTIFICATE}
- PUSH_SERVER_DATASOURCE_URL=${PUSH_SERVER_DATASOURCE_URL}
- PUSH_SERVER_DATASOURCE_USERNAME=${PUSH_SERVER_DATASOURCE_USERNAME}
- PUSH_SERVER_DATASOURCE_PASSWORD=${PUSH_SERVER_DATASOURCE_PASSWORD}
- PUSH_SERVER_DATASOURCE_DRIVER=${PUSH_SERVER_DATASOURCE_DRIVER}
- PUSH_SERVER_JPA_DDL_AUTO=${PUSH_SERVER_JPA_DDL_AUTO}
- PUSH_SERVER_JPA_CHARSET=${PUSH_SERVER_JPA_CHARSET}
- PUSH_SERVER_JPA_CHARACTER_ENCODING=${PUSH_SERVER_JPA_CHARACTER_ENCODING}
- PUSH_SERVER_JPA_USE_UNICODE=${PUSH_SERVER_JPA_USE_UNICODE}
- PUSH_SERVER_JPA_DATABASE_PLATFORM=${PUSH_SERVER_JPA_DATABASE_PLATFORM}
- PUSH_SERVER_APNS_DEVELOPMENT=${PUSH_SERVER_APNS_DEVELOPMENT}
- PUSH_SERVER_APNS_PROXY_ENABLED=${PUSH_SERVER_APNS_PROXY_ENABLED}
- PUSH_SERVER_APNS_PROXY_HOST=${PUSH_SERVER_APNS_PROXY_HOST}
- PUSH_SERVER_APNS_PROXY_PORT=${PUSH_SERVER_APNS_PROXY_PORT}
- PUSH_SERVER_APNS_PROXY_USERNAME=${PUSH_SERVER_APNS_PROXY_USERNAME}
- PUSH_SERVER_APNS_PROXY_PASSWORD=${PUSH_SERVER_APNS_PROXY_PASSWORD}
- PUSH_SERVER_FCM_PROXY_ENABLED=${PUSH_SERVER_FCM_PROXY_ENABLED}
- PUSH_SERVER_FCM_PROXY_HOST=${PUSH_SERVER_FCM_PROXY_HOST}
- PUSH_SERVER_FCM_PROXY_PORT=${PUSH_SERVER_FCM_PROXY_PORT}
- PUSH_SERVER_FCM_PROXY_USERNAME=${PUSH_SERVER_FCM_PROXY_USERNAME}
- PUSH_SERVER_FCM_PROXY_PASSWORD=${PUSH_SERVER_FCM_PROXY_PASSWORD}
- PUSH_SERVER_FCM_DATA_NOTIFICATION_ONLY=${PUSH_SERVER_FCM_DATA_NOTIFICATION_ONLY}
- PUSH_SERVER_DATASOURCE_JNDI_NAME=${PUSH_SERVER_DATASOURCE_JNDI_NAME}
- PUSH_SERVER_CAMPAIGN_BATCH_SIZE=${PUSH_SERVER_CAMPAIGN_BATCH_SIZE}
- PUSH_SERVER_MESSAGE_STORAGE_ENABLED=${PUSH_SERVER_MESSAGE_STORAGE_ENABLED}
- PUSH_SERVER_REGISTRATION_MULTIPLE_ACTIVATIONS_ENABLED=${PUSH_SERVER_REGISTRATION_MULTIPLE_ACTIVATIONS_ENABLED}
- PUSH_SERVER_SPRING_BATCH_JOB_ENABLED=${PUSH_SERVER_SPRING_BATCH_JOB_ENABLED}
- PUSH_SERVER_SPRING_JMX_ENABLED=${PUSH_SERVER_SPRING_JMX_ENABLED}
- PUSH_SERVER_SPRING_JMX_DEFAULT_DOMAIN=${PUSH_SERVER_SPRING_JMX_DEFAULT_DOMAIN}
- PUSH_SERVER_FCM_CONNECT_TIMEOUT=${PUSH_SERVER_FCM_CONNECT_TIMEOUT}
- PUSH_SERVER_APNS_CONNECT_TIMEOUT=${PUSH_SERVER_APNS_CONNECT_TIMEOUT}
- PUSH_SERVER_APNS_IDLE_PING_INTERVAL=${PUSH_SERVER_APNS_IDLE_PING_INTERVAL}
- PUSH_SERVER_APNS_CONCURRENT_CONNECTIONS=${PUSH_SERVER_APNS_CONCURRENT_CONNECTIONS}
- PUSH_SERVER_JAVA_CACERTS_PASSWORD=${PUSH_SERVER_JAVA_CACERTS_PASSWORD}
- PUSH_SERVER_APPLICATION_NAME=${PUSH_SERVER_APPLICATION_NAME}
- PUSH_SERVER_APPLICATION_DISPLAY_NAME=${PUSH_SERVER_APPLICATION_DISPLAY_NAME}
- PUSH_SERVER_APPLICATION_ENVIRONMENT=${PUSH_SERVER_APPLICATION_ENVIRONMENT}
- PUSH_SERVER_CORRELATION_HEADER_ENABLED=${POWERAUTH_SERVER_CORRELATION_HEADER_ENABLED}
- PUSH_SERVER_CORRELATION_HEADER_NAME=${POWERAUTH_SERVER_CORRELATION_HEADER_NAME}
- PUSH_SERVER_CORRELATION_HEADER_VALUE_VALIDATION_REGEXP=${POWERAUTH_SERVER_CORRELATION_HEADER_VALUE_VALIDATION_REGEXP}
- PUSH_SERVER_LOGGING=${PUSH_SERVER_LOGGING}
- JAVA_OPTS=${POWERAUTH_JAVA_OPTS_OPENJ9}
depends_on:
powerauth-push-postgresql:
condition: service_healthy
powerauth-java-server:
condition: service_healthy