Getting Started
oCIS Online Demo
We have an oCIS demo instance running on ocis.owncloud.com where you can get a first impression of it.
We also have some more variations of oCIS running and continuously deployed to reflect different scenarios in that oCIS might be used.
Run oCIS
We are distributing oCIS as Docker images only.
|
The examples in this document assume that oCIS is accessed from the same host as it is running on ( |
You can find more deployment examples in the deployment overview documentaion.
Docker
Docker images for oCIS are available on Docker Hub.
For rolling releases, the latest tag always reflects the current master branch.
docker pull owncloud/ocis-rolling
docker run --rm -it -v ocis-config:/etc/ocis owncloud/ocis init
docker run --rm -p 9200:9200 \
-v ocis-config:/etc/ocis
-v ocis-data:/var/lib/ocis \
-e IDM_CREATE_DEMO_USERS=true owncloud/ocis
|
When you’re using oCIS with self-signed certificates, you need to set the environment variable |
|
When you’re creating the demo users by setting |
|
We are using named volumes for the oCIS configuration and oCIS data in the above example ( |
Usage
Login to ownCloud Web
Open https://localhost:9200 and login using one of the demo accounts.
Basic Management Commands
The oCIS single binary (only when you build manually) contains multiple extensions and the ocis command helps you to manage them. We now will show you some more management commands, which you may also explore by typing ocis --help or going to the docs.
To initialize the oCIS configuration:
ocis init
To start oCIS server:
ocis server
The list command prints all running oCIS services.
ocis list
The version command prints the version of your installed oCIS.
ocis --version
The health command is used to execute a health check, if the exit code equals zero the service should be up and running, if the exit code is greater than zero the service is not in a healthy state. Generally this command is used within our Docker containers, it could also be used within Kubernetes.
ocis health --help