Hello, I need tips and suggestions on how to install WebOffice or OnlyOffice on OpenCloud. I'm using Docker with PostgreSQL and Portainer, but despite several attempts, I can't install the package. Below I am sending the code used:
version: "3.9"
services:
===== OPENCLOUD =====
opencloud:
image: opencloudeu/opencloud-rolling:latest
container_name: opencloud
entrypoint: ["/bin/sh"]
command: ["-c", "opencloud init || true; opencloud server"]
environment:
OC_URL: "https://cloud.example.com"
OC_LOG_LEVEL: "info"
OC_INSECURE: "true"
PROXY_TLS: "false"
OC_DB_TYPE: "postgres"
OC_DB_HOST: "postgres_teste"
OC_DB_PORT: "5432"
OC_DB_USER: "opencloud"
OC_DB_PASS: "password"
OC_DB_NAME: "opencloud"
IDM_ADMIN_PASSWORD: "admin"
IDM_CREATE_DEMO_USERS: "false"
OFFICE_ENABLED: "true"
COLLABORA_URL: "http://opencloud_collabora:9980"
WOPI_SECRET: "happy muster employed shriek registry parasitic"
volumes:
- opencloud_config:/etc/opencloud
- opencloud_data:/var/lib/opencloud
ports:
- "9200:9200"
networks:
- network_public
restart: always
===== COLLABORA (WebOffice) =====
opencloud_collabora:
image: collabora/code:latest
container_name: opencloud_collabora
environment:
username: "admin"
password: "admin"
domain: "cloud.example.com"
extra_params: "--o:ssl.enable=false --o:wopi.enable=true"
aliasgroup1: "https://myhost"
ports:
- "9980:9980"
networks:
- network_public
restart: always
===== OnlyOffice (opcional, backup) =====
opencloud_onlyoffice:
image: onlyoffice/documentserver:latest
container_name: opencloud_onlyoffice
environment:
JWT_SECRET: ""
ports:
- "8081:80"
networks:
- network_public
restart: always
volumes:
opencloud_config:
opencloud_data:
networks:
network_public:
external: true