fix docker-compose-single.yaml so it works with 21.10 (self-signed secured)
This commit is contained in:
parent
6159cd56b8
commit
05e716e563
20
certs/eventstore-local.crt
Normal file
20
certs/eventstore-local.crt
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIDSzCCAjMCFAxEesn/oIrU2T7DOU9cWCyoCCqfMA0GCSqGSIb3DQEBCwUAMGIx
|
||||||
|
CzAJBgNVBAYTAkNBMQswCQYDVQQIDAJCQzESMBAGA1UEBwwJVmFuY291dmVyMRcw
|
||||||
|
FQYDVQQKDA5BZGFwdGVjaCBHcm91cDEZMBcGA1UEAwwQZXZlbnRzdG9yZS5sb2Nh
|
||||||
|
bDAeFw0yMTA1MDYyMDAyMzZaFw0zMTA1MDQyMDAyMzZaMGIxCzAJBgNVBAYTAkNB
|
||||||
|
MQswCQYDVQQIDAJCQzESMBAGA1UEBwwJVmFuY291dmVyMRcwFQYDVQQKDA5BZGFw
|
||||||
|
dGVjaCBHcm91cDEZMBcGA1UEAwwQZXZlbnRzdG9yZS5sb2NhbDCCASIwDQYJKoZI
|
||||||
|
hvcNAQEBBQADggEPADCCAQoCggEBANbNrVQ91TFVsrfFV39/1MjxM/UIP78FaX+S
|
||||||
|
kxAzcpAJKP9PbHLwFXxkl0Bam+3ekE6+hc3qT8o4ksOdzwz+dJbdZF8gblLda7vq
|
||||||
|
JnPjkAZuhojRLPfXvaJZbManEkB30+JIvb/XWhMf34+kvyZaOnKqidzNAuLAFQ+6
|
||||||
|
KCCXYnTUFimumr6AsrZvA9UzN3edrk1pqxMYNT+8MBOUnNfkdHX78aTzdWvq4+Ro
|
||||||
|
+58MT3NpqdI+1cY423JlG2qj8PAqPsgdE4XvmtqDtLndH+VflR1M1Rkn41cofgSh
|
||||||
|
lo7PE2SNn4hSv8m+1HJMfcegJEXKE3LIGHJtV6qT6S+pRtJd9mcCAwEAATANBgkq
|
||||||
|
hkiG9w0BAQsFAAOCAQEAlhKziHmYm81vrx+EHqIZXvmoUp3I1A9STvFqUdHrv9sa
|
||||||
|
8tKD7wW0owTVaxXBW3380ZFRpG3JVJFUgOyFIhi4IccWoqVsBCE0BBR96tlRXrKT
|
||||||
|
UZTAHLEk/SdLL+qfhKgY7F7+M9Wtf5HldiRfNoTqYn6YVXMJMgcwehhHho/fCHzj
|
||||||
|
tzOMfKFjGAq+n8cScLrTaW92JbbxjFPJJ7uQDH4OjAHx6pT885+RJf0rNqboAErA
|
||||||
|
lRLcEjtihslWKD7nelOlJE1egkum/m7MLVFpZPqEBp+x1zXdwacENwIhiRrQQhKi
|
||||||
|
8Qw36BuSCZ3CZK18kGyhtxl/uUP/wx7XXc1U0W2Wtw==
|
||||||
|
-----END CERTIFICATE-----
|
BIN
certs/eventstore.p12
Normal file
BIN
certs/eventstore.p12
Normal file
Binary file not shown.
|
@ -2,31 +2,26 @@ version: '3.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
eventstore.db:
|
eventstore.db:
|
||||||
image: eventstore/eventstore:release-5.0.8
|
image: eventstore/eventstore:21.10.8-buster-slim
|
||||||
environment:
|
environment:
|
||||||
- EVENTSTORE_CLUSTER_SIZE=1
|
- EVENTSTORE_CLUSTER_SIZE=1
|
||||||
- EVENTSTORE_RUN_PROJECTIONS=All
|
- EVENTSTORE_RUN_PROJECTIONS=All
|
||||||
- EVENTSTORE_START_STANDARD_PROJECTIONS=True
|
- EVENTSTORE_START_STANDARD_PROJECTIONS=True
|
||||||
- EVENTSTORE_DB=/var/lib/eventstore-data
|
- EVENTSTORE_ENABLE_EXTERNAL_TCP=true
|
||||||
- EVENTSTORE_INDEX=/var/lib/eventstore-index
|
|
||||||
- EVENTSTORE_LOG=/var/log/eventstore
|
|
||||||
- EVENTSTORE_EXT_TCP_PORT=1113
|
- EVENTSTORE_EXT_TCP_PORT=1113
|
||||||
- EVENTSTORE_EXT_HTTP_PORT=2113
|
- EVENTSTORE_HTTP_PORT=2113
|
||||||
- EVENTSTORE_INT_IP=192.168.33.10
|
- EVENTSTORE_INT_IP=192.168.33.10
|
||||||
- EVENTSTORE_EXT_IP=192.168.33.10
|
- EVENTSTORE_EXT_IP=192.168.33.10
|
||||||
|
- EVENTSTORE_CERTIFICATE_FILE=/eventstore.p12
|
||||||
|
- EVENTSTORE_CERTIFICATE_PASSWORD=eventstore
|
||||||
|
- EVENTSTORE_TRUSTED_ROOT_CERTIFICATES_PATH=/etc/ssl/certs
|
||||||
ports:
|
ports:
|
||||||
- "1113:1113"
|
- "1113:1113"
|
||||||
- "2113:2113"
|
- "2113:2113"
|
||||||
volumes:
|
volumes:
|
||||||
- type: volume
|
- eventstore-data:/var/lib/eventstore
|
||||||
source: eventstore-volume-data
|
- ./certs/eventstore.p12:/eventstore.p12:ro
|
||||||
target: /var/lib/eventstore-data
|
- ./certs/eventstore-local.crt:/etc/ssl/certs/eventstore.crt:ro
|
||||||
- type: volume
|
|
||||||
source: eventstore-volume-index
|
|
||||||
target: /var/lib/eventstore-index
|
|
||||||
- type: volume
|
|
||||||
source: eventstore-volume-logs
|
|
||||||
target: /var/log/eventstore
|
|
||||||
networks:
|
networks:
|
||||||
app_net:
|
app_net:
|
||||||
ipv4_address: 192.168.33.10
|
ipv4_address: 192.168.33.10
|
||||||
|
@ -42,13 +37,11 @@ services:
|
||||||
- app_net
|
- app_net
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
eventstore-volume-data:
|
eventstore-data:
|
||||||
eventstore-volume-index:
|
|
||||||
eventstore-volume-logs:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
app_net:
|
app_net:
|
||||||
ipam:
|
ipam:
|
||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
- subnet: "192.168.33.0/24"
|
- subnet: "192.168.33.0/24"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user