Clockify comes as a plug-and-play Docker image, so all you need to do is download the installation file and your license, and run it using Docker.

Installation steps #

  1. Log in to your Server Admin portal
  2. Click "Configure" and enter:
    1. URL domain - the URL from which your users will access Clockify
    2. Email domains - users that have those email domains will be able to use your Clockify account
  3. Click "Download installation file"
  4. Put the file you've downloaded ("docker-compose.yml") on your server
  5. Make sure you have Docker and Docker Compose installed
  6. Log-in into Clockify docker repository by running "docker login" using your Server Admin email and password (the same one you use for logging into the Server Admin Portal)
  7. Run Clockify on the server with this command: "docker-compose up -d"

Accessing and setting up Clockify #

Once you have Clockify up and running, you can access the client application via the URL domain you've entered in the Server Admin portal (installation step 2).

Default login credentials for the app (which you can change in Profile settings inside the app):

  • User name:
  • Password: (check your welcome email)

To set up SSO, email delivery, default workspace, and other aspects of the system, use Admin Panel.

To manage license (billing, users seats, email domains), use Server Admin portal.

To set up Clockify workspace, be sure to check out our video tutorials and help articles (eg. inviting users, importing projects, setting up who can do what, and more).

To use Clockify with apps (mobile, desktop, extension), when you're on the log-in page, select "Log in to custom domain", enter URL of where your have Clockify installed, and then enter your credentials/SSO.

Updating to the latest version #

Once you install Clockify, you will run the same version until you manually decide that you want to upgrade to the latest version.

Usually, the cloud version gets updated twice a week (see release log), and the Server version gets those updates a week or two later.

When you decide you update, stop Clockify, pull the latest change, and run Clockify again:

docker-compose pull && docker-compose up -d

Using API #

If you're a self-hosted user, you'll have to use a different API base point:

  • Base endpoint:
  • Base endpoint for reports:

You can find API documentation here, and your exact base endpoint when you go to:

Backups #

We recommend making regular backups using scripts. Example:

sudo docker-compose exec -T db sh -c 'mongodump -u "$MONGO_INITDB_USERNAME" -p "$MONGO_INITDB_PASSWORD" -d "$MONGO_INITDB_DATABASE" --archive' > clockify-$(date -I).dump

Later, you can restore a backup by creating a new database instance and to regular restore using mongorestore. Example:

sudo docker-compose exec -T db sh -c 'mongorestore -u "$MONGO_INITDB_USERNAME" -p "$MONGO_INITDB_PASSWORD" -d "$MONGO_INITDB_DATABASE" --authenticationDatabase admin --archive' < /my-file-path/my-clockify-backup.dump
Installing Legacy version (Non-Docker)

Clockify consists of 3 main parts: API server, database server, and Web server. They can be on the same machine, but depending on the available resources you might want to deploy them on separate machines.

Database server #

You should first set up the database server, as API can’t run without it. API expects an instance of MongoDB v 4.2.

Creating a database user

If we assume that:


We should add the appropriate user with the following commands:

 mongo --host $host
> use admin
> db.createUser({user:"$username", pwd:"$password", roles:[{role:"root", db:"admin"}]})
> use clockify
> db.createUser({user:"$username", pwd:"$password", roles:[{role:"readWrite", db:"clockify"}]}) 

API server

API server uses Java. You need Oracle Java 8 or OpenJDK 8. Clockify API ships in a form of a JAR file that needs to be run with appropriate parameters.

Running API server

If we assume that:


We should run the API with the following command:

sudo java -jar$profile  clockify-1.0.jar --authentication.token.xauth.key=$tokenKey --database.mongoDb.url=$mongoConnectionString

Successfully configured API server will produce the console output similar to this:

INFO [main] [] com.clockify.BackendApplication : Started BackendApplication in 10.579 seconds (JVM running for 11.03)

Logs are stored on


It is recommended to run the Java process in the background. How you will configure this depends on your operating system.
API needs to be accessible from outside network under the /api path (for example Again, configuration of this depends on the operating system and the web server in place.

Web server #

Web server hosts the static files that make the JavaScript frontend. Frontend ships as a compressed package that should be uncompressed and configured as a root of the web server of choice. How you will configure it depends on your web server.