Add ocis - untested

This commit is contained in:
Jay T
2026-08-18 10:28:57 -07:00
parent 28ba1cbc2f
commit de629316be
2 changed files with 45 additions and 0 deletions
+5
View File
@@ -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
}
+40
View File
@@ -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