57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
services:
|
|
ocis:
|
|
image: owncloud/ocis:8.1
|
|
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
|
|
|
|
# --- Thumbnail & HEIC Configuration ---
|
|
THUMBNAILS_IMAGINARY_URL: http://imaginary:9000
|
|
# Force HEIC to process through imaginary instead of built-in fallback
|
|
THUMBNAILS_RESOLUTION_MIN_WIDTH: 32
|
|
THUMBNAILS_RESOLUTION_MIN_HEIGHT: 32
|
|
volumes:
|
|
- ocis_config:/etc/ocis
|
|
- ocis_data:/var/lib/ocis
|
|
networks:
|
|
- caddy_net
|
|
depends_on:
|
|
- imaginary
|
|
|
|
imaginary:
|
|
image: h2non/imaginary:latest
|
|
container_name: ocis_imaginary
|
|
restart: unless-stopped
|
|
command: -cors -gzip -enable-url-source
|
|
networks:
|
|
- caddy_net
|
|
|
|
volumes:
|
|
ocis_config:
|
|
ocis_data:
|
|
|
|
networks:
|
|
caddy_net:
|
|
external: true
|