Add ocis - untested
This commit is contained in:
@@ -7,3 +7,8 @@ ilboo.com {
|
|||||||
# Forward requests to port 4000 running directly on the host system
|
# Forward requests to port 4000 running directly on the host system
|
||||||
reverse_proxy host.docker.internal:4000
|
reverse_proxy host.docker.internal:4000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ocis.rn.ilboo.com {
|
||||||
|
# Reverse proxy to the OCIS container on port 9200
|
||||||
|
reverse_proxy ocis:9200
|
||||||
|
}
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user