Différences
Ci-dessous, les différences entre deux révisions de la page.
technique:adminserv:nextcloud:collabora [2023/06/10 19:39] – créée qduchemi | technique:adminserv:nextcloud:collabora [2023/06/10 19:42] (Version actuelle) – qduchemi | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | {{indexmenu_n> | ||
+ | # Ajouter de l' | ||
+ | ## Contexte | ||
+ | |||
+ | Nextcloud supporte, grâce à son plugin [Nextcloud Office](https:// | ||
+ | |||
+ | Concrètement, | ||
+ | |||
+ | Cette fonctionnalité est aujourd' | ||
+ | |||
+ | ## Installation | ||
+ | |||
+ | L' | ||
+ | |||
+ | Chez Picasoft, la stratégie est d' | ||
+ | |||
+ | < | ||
+ | |||
+ | Il faut donc exposer CODE sur Internet, derrière [[technique: | ||
+ | |||
+ | ```yaml | ||
+ | collabora: | ||
+ | image: collabora/ | ||
+ | container_name: | ||
+ | networks: | ||
+ | # Name of the network where the Nextcloud app resides | ||
+ | - nextcloud | ||
+ | # Name of the network where Traefik resides | ||
+ | - proxy | ||
+ | environment: | ||
+ | # Every dot should be escaped, otherwise interpreted as regexp | ||
+ | # Which domains can use Collabora : | ||
+ | # - One domain per alias_groupX | ||
+ | # - Optionnally with aliases per domain, see https:// | ||
+ | alias_group1: | ||
+ | # Limit to french for now for the sake of simplicity | ||
+ | dictionaries: | ||
+ | # Traefik terminates SSL, use HTTP internally | ||
+ | VIRTUAL_PROTO: | ||
+ | VIRTUAL_PORT: | ||
+ | VIRTUAL_HOST: | ||
+ | # Disable capabilities check that are not available inside Docker container | ||
+ | # Additionnaly, | ||
+ | extra_params: | ||
+ | DONT_GEN_SSL_CERT: | ||
+ | # Maybe not mandatory, documentation states it is useful if Collabora | ||
+ | # run behind a reverse proxy | ||
+ | server_name: | ||
+ | env_file: ./ | ||
+ | labels: | ||
+ | # Depends on your configuration... websecure is an HTTPS entrypoint there. | ||
+ | traefik.http.routers.collabora.entrypoints: | ||
+ | traefik.http.routers.collabora.rule: | ||
+ | traefik.http.services.collabora.loadbalancer.server.port: | ||
+ | traefik.enable: | ||
+ | |||
+ | ``` | ||
+ | |||
+ | Le fichier `collabora.secrets` contient deux variables d' | ||
+ | |||
+ | Cette configuration suffit à lancer un serveur Collabora fonctionnel. | ||
+ | |||
+ | ## Relier une instance | ||
+ | |||
+ | Pour chaque instance Nextcloud où on veut activer Collabora, il suffit (depuis le conteneur par exemple) d' | ||
+ | |||
+ | ```bash | ||
+ | php occ app:install richdocuments | ||
+ | php occ config: | ||
+ | php occ richdocuments: | ||
+ | ``` | ||
+ | |||
+ | < | ||
+ | |||
+ | Ces commandes ajoutent alors les documents « classiques » de la bureautique dans le menu de création Nextcloud. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ## Accéder à l' | ||
+ | |||
+ | Elle se trouve à l'URL [collabora.picasoft.net/ |