Skip to content

Maintenance mode

Eric Carmichael edited this page Sep 5, 2018 · 3 revisions

To put Codalab into maintenance mode, you need to create a maintenance_on file in the codalab directory and restart the nginx Docker container.

Typically, that would look something like this:

# Go to our github repo
$ cd codalab-competitions

# Make the file signaling maintenance mode
$ touch codalab/maintenance_on

# Restart nginx docker
$ docker-compose restart nginx

# Do your changes, then remove the file and restart again
$ rm codalab/maintenance_on && docker-compose restart nginx
Clone this wiki locally