From de629316be8f3aa17cb0acf12014cd9fb6a5a602 Mon Sep 17 00:00:00 2001 From: Jay T Date: Tue, 18 Aug 2026 10:28:57 -0700 Subject: [PATCH] Add ocis - untested --- caddy/Caddyfile | 5 +++++ ocis/docker-compose.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 ocis/docker-compose.yml diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 25ff035..d29a38c 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -7,3 +7,8 @@ ilboo.com { # Forward requests to port 4000 running directly on the host system reverse_proxy host.docker.internal:4000 } + +ocis.rn.ilboo.com { + # Reverse proxy to the OCIS container on port 9200 + reverse_proxy ocis:9200 +} \ No newline at end of file diff --git a/ocis/docker-compose.yml b/ocis/docker-compose.yml new file mode 100644 index 0000000..b18836b --- /dev/null +++ b/ocis/docker-compose.yml @@ -0,0 +1,40 @@ +services: + ocis: + image: owncloud/ocis:latest + container_name: ocis + restart: unless-stopped + entrypoint: + - /bin/sh + command: + - -c + - "ocis init || true; ocis server" + environment: + # The public URL of your OCIS instance + OCIS_URL: https://ocis.rn.ilboo.com + + # Disable SSL between Caddy and OCIS inside the internal Docker network + PROXY_TLS: "false" + + # Tell the OCIS proxy to bind to HTTP on port 9200 + PROXY_HTTP_ADDR: 0.0.0.0:9200 + + # Bypass secure connection requirements for internal container routing + OCIS_INSECURE: "true" + + # Define your initial admin password (only applies on first initialization) + IDM_ADMIN_PASSWORD: "ReplaceWithYourSecurePassword" + + OCIS_LOG_LEVEL: error + volumes: + - ocis_config:/etc/ocis + - ocis_data:/var/lib/ocis + networks: + - caddy_net + +volumes: + ocis_config: + ocis_data: + +networks: + caddy_net: + external: true \ No newline at end of file