An open API service indexing awesome lists of open source software.

https://github.com/daemonite/dockercloud-schedule

Container for bringing up and down a staging cluster.
https://github.com/daemonite/dockercloud-schedule

docker-cloud python schedule

Last synced: about 2 months ago
JSON representation

Container for bringing up and down a staging cluster.

Awesome Lists containing this project

README

        

## Daemonite Schedule

**dockercloud-stack.yml**

```yaml
dockercloud-schedule:
image: 'daemonite/dockercloud-schedule:latest'
autoredeploy: true
environment:
- DOCKERCLOUD_APIKEY=***YOUR-API-KEY***
- DOCKERCLOUD_USER=***YOUR-USERNAME***
- NODECLUSTER=***YOUR-NODECLUSTER-UUID***
tags:
- prod
```

Docker Cloud PaaS scheduling service for staging cluster; Skunkworks.

- h/t https://github.com/alexdebrie/tutum-schedule
- h/t https://github.com/dbader/schedule

### Introduction

Designed to restrict the staging node cluster and its services to business hours only; 8am-8pm weekdays (Australian Eastern Standard).

### Usage

Schedule relies on the awesome Python [schedule](https://github.com/dbader/schedule) package created by `dbader`. It implements a simple, Pythonic interface to schedule tasks.

### Deploy

To deploy this to DockerCloud, create your own `dc-schedule.py` with your
desired configuration. Once you're ready, run:

docker build -t / .
docker push /

Go to your Docker Cloud account and deploy the Service. __Be sure to assign the
`global` role to the Service so it can use the Tutum API on your behalf.__