This project builds a custom docker image from the official Nextcloud one, applying workarounds or specific behaviour of interest only for a shared, private-by-default installation such as ecloud.global.
This project builds a custom docker image from the official Nextcloud one, applying patches to make Murena Workspace.
## Building
2 images are available the default one and the `slim` one which only you to setup it with your needs.
Simply build as a standard docker image. Check `gitlab-ci.ym` for the commands we use.
Murena workspace use php `fpm` as base version by default while the slim version relies on the `apache` one.
## Using
## Getting started
We suggest you use our [ecloud-selfhosting](https://gitlab.e.foundation/e/infra/ecloud-selfhosting) project instead of this one directly. But if you wish to do so, then check our [releases page](https://gitlab.e.foundation/e/infra/ecloud/nextcloud/-/releases) and pull the latest tag from the container registry.
You can configure default values from the `.env` file. see [.env.example](./.env.example).
By default, the slim Murena Workspace is configured.
### To run ecloud locally(Tested on Ubuntu and Manjaro, should work on most linux distributions)
slim Murena Workspace
```
cp .env.example .env
docker compose up --build -d
```
- Install [docker](https://docs.docker.com/engine/install/ubuntu/)(link is for Ubuntu)
- To install more apps, use `docker exec -u www-data ecloud /var/www/html/occ app:install $app` where `$app` is the name of the app
- To make the `html` folder editable to current user(`$USER`)(run commands with `sudo` if required):
-`usermod -a -G '33' $USER`
-`chmod -R g+w volumes/nextcloud/html`
- Log out and log back into your system
## Contributing
Anyone can fork a project on our GitLab instance, but to prevent abuse it's disabled by default. Get in touch with us [by e-mail](mailto:dev@murena.com) or through our support channels and we will let you create a fork and submit MRs.
Go to http://localhost:8000 then use admin credentials provided into `.env` file.