3
0

Tweaked config default values for corredor

This commit is contained in:
Denis Arh
2020-01-19 11:05:03 +01:00
parent 90a2bde536
commit 19f007f886
5 changed files with 7 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ ENV COMPOSE_STORAGE_PATH /data/compose
ENV MESSAGING_STORAGE_PATH /data/messaging
ENV SYSTEM_STORAGE_PATH /data/system
ENV CORREDOR_ADDR corredor:80
VOLUME /data
EXPOSE 80

View File

@@ -16,6 +16,7 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /tmp/corteza-server-compose /bin
ENV COMPOSE_STORAGE_PATH /data/compose
ENV CORREDOR_ADDR corredor:80
VOLUME /data

View File

@@ -16,6 +16,7 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /tmp/corteza-server-messaging /bin
ENV MESSAGING_STORAGE_PATH /data/messaging
ENV CORREDOR_ADDR corredor:80
VOLUME /data

View File

@@ -16,6 +16,7 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /tmp/corteza-server-system /bin
ENV SYSTEM_STORAGE_PATH /data/system
ENV CORREDOR_ADDR corredor:80
VOLUME /data

View File

@@ -37,14 +37,14 @@ func Corredor() (o *CorredorOpt) {
o = &CorredorOpt{
Enabled: true,
RunAsEnabled: true,
Addr: "corredor:80",
Addr: "localhost:50051",
MaxBackoffDelay: time.Minute,
DefaultExecTimeout: time.Minute,
ListTimeout: time.Second * 2,
Log: false,
TlsCertEnabled: true,
TlsCertPath: "/corredor-certificates",
TlsCertPath: "/certs/corredor/client",
TlsCertCA: "ca.crt",
TlsCertPublic: "public.crt",
TlsCertPrivate: "private.key",