Files
openproject/docker/dev/nextcloud
Jan Sandbrink 394f675dbb Ignore overrides for nextcloud compose as well
Similar to other docker compose environments, we also
allow to provide a local docker-compose.override.yml, so
that local changes (like the ones suggested in the compose file)
can be applied without impacting the git state.
2025-04-29 10:05:59 +02:00
..

A minimal setup to run a Nextcloud inside the TLS-enabled docker development stack.

First installation steps

  1. Allow accessing OP through openproject.local:
    • docker compose exec --user www-data nextcloud php occ config:system:set allow_local_remote_servers --value 1
  2. Import Dev CA cert into Nextcloud's own certificate store:
    • docker compose cp /path/to/your/OpenProject_Development_Root_CA.crt nextcloud:/tmp/root.crt
    • docker compose exec nextcloud chown www-data /tmp/root.crt
    • docker compose exec --user www-data nextcloud php occ security:certificates:import /tmp/root.crt
  3. Following docs configure Traefik as trusted proxy
    • e.g. add 'trusted_proxies' => ['172.0.0.0/8'], to config/config.php for a pretty broad allowance for most docker services (verify that your gateway network uses IPs in the given address range)
  4. Download/Activate Nextcloud plugins:
    • integration_openproject
    • groupfolders (dependency for certain OP functions)