Skip to content

Daemonite/dockercloud-schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daemonite Schedule

dockercloud-stack.yml

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.

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 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 <username>/<image_name> .
docker push <username>/<image_name>

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.

About

Container for bringing up and down a staging cluster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages