Skip to content

Commit

Permalink
Merge pull request #6016 from owncloud/ocis-insecure
Browse files Browse the repository at this point in the history
use `OCIS_INSECURE` flag after owncloud/ocis#2745
  • Loading branch information
wkloucek authored Nov 11, 2021
2 parents 73e08f9 + 7ab94af commit 906584f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=5aeb76f6c8aee574fdd2710f9e883efe0c8166f8
OCIS_COMMITID=45c3b072fbb6267a11d1de264fe2d64d18d56c73
OCIS_BRANCH=master
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ def ocisService():
"STORAGE_USERS_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/users",
"STORAGE_METADATA_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
"STORAGE_SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
"PROXY_OIDC_INSECURE": "true",
"OCIS_INSECURE": "true",
"WEB_UI_CONFIG": "/srv/config/drone/config-ocis.json",
"WEB_ASSET_PATH": "%s/dist" % dir["web"],
"IDP_IDENTIFIER_REGISTRATION_CONF": "/srv/config/drone/identifier-registration.yml",
Expand Down
3 changes: 2 additions & 1 deletion deployments/examples/ocis_web/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ services:
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
PROXY_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
Expand All @@ -70,6 +69,8 @@ services:
STORAGE_GATEWAY_GRPC_ADDR: 0.0.0.0:9142 # make the REVA gateway accessible to the app drivers
# proxy
PROXY_CONFIG_FILE: "/var/tmp/ocis/proxy-config/config.json"
# INSECURE: needed if oCIS / Traefik is using self generated certificates
OCIS_INSECURE: "${INSECURE:-false}"
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ./config/ocis/proxy-config.json:/var/tmp/ocis/proxy-config/config.json
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
OCIS_URL: ${OCIS_URL:-https://host.docker.internal:9200}
STORAGE_HOME_DRIVER: ${STORAGE_HOME_DRIVER:-ocis}
STORAGE_USERS_DRIVER: ${STORAGE_USERS_DRIVER:-ocis}
PROXY_OIDC_INSECURE: "${PROXY_OIDC_INSECURE:-true}"
OCIS_INSECURE: "${OCIS_INSECURE:-true}"
WEB_UI_CONFIG: ${WEB_UI_CONFIG:-/web/config.json}
WEB_ASSET_PATH: ${WEB_ASSET_PATH:-/web/dist}
IDP_IDENTIFIER_REGISTRATION_CONF: ${IDP_IDENTIFIER_REGISTRATION_CONF:-/web/identifier-registration.yml}
Expand Down

0 comments on commit 906584f

Please sign in to comment.