Skip to content

Instantly share code, notes, and snippets.

@jdwyah
Last active May 16, 2018 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdwyah/e407bebc98faef06cb9f540c2fa973d2 to your computer and use it in GitHub Desktop.
Save jdwyah/e407bebc98faef06cb9f540c2fa973d2 to your computer and use it in GitHub Desktop.
name: landings
image: ezcater-landings
slack: j-growth
deployables:
web:
type: web
port: 3000
command: "bundle exec rails server -p 3000 -b 0.0.0.0"
replicas: 2
health_check_path: "/health_check"
production:
host: "order.ezcater.com"
staging:
host: "---------"
dbmigrate:
type: job
command: "bundle exec rake db:migrate"
publisher:
type: cron
command: "bundle exec rake publish"
schedule: "1 * * * *"
predeploy:
- dbmigrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment