mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
25d5c1cde2
I finally learned how to change arrays in Nextcloud config, so lets also reflect that in the instructions...
1.2 KiB
1.2 KiB
A minimal setup to run a Nextcloud inside the TLS-enabled docker development stack.
First installation steps
- Allow accessing OP through
openproject.local:docker compose exec --user www-data nextcloud php occ config:system:set allow_local_remote_servers --value 1- If using an alternative hostname:
docker compose exec --user www-data nextcloud php occ config:system:set trusted_domains 1 --value=nextcloud.example.com
- Import Dev CA cert into Nextcloud's own certificate store:
docker compose cp /path/to/your/OpenProject_Development_Root_CA.crt nextcloud:/tmp/root.crtdocker compose exec nextcloud chown www-data /tmp/root.crtdocker compose exec --user www-data nextcloud php occ security:certificates:import /tmp/root.crt
- Configure Traefik as trusted proxy
- e.g.
docker compose exec --user www-data nextcloud php occ config:system:set trusted_proxies 2 --value=172.0.0.0/8for a pretty broad allowance for most docker services (verify that yourgatewaynetwork uses IPs in the given address range)
- e.g.
- Download/Activate Nextcloud plugins:
integration_openprojectgroupfolders(dependency for certain OP functions)