Skip to content

Instantly share code, notes, and snippets.

@lasley
Created October 12, 2017 16:55
Show Gist options
  • Save lasley/18f9aee1c0c7496e2097f4c831bebd74 to your computer and use it in GitHub Desktop.
Save lasley/18f9aee1c0c7496e2097f4c831bebd74 to your computer and use it in GitHub Desktop.
Odoo Runbot Rancher Compose
version: '2'
services:
cron:
scale: 1
start_on_create: true
health_check:
healthy_threshold: 2
response_timeout: 2000
port: 8069
unhealthy_threshold: 60
initializing_timeout: 60000
interval: 2000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
postgresql:
scale: 1
start_on_create: true
web:
scale: 1
start_on_create: true
health_check:
healthy_threshold: 2
response_timeout: 2000
port: 8069
unhealthy_threshold: 60
initializing_timeout: 60000
interval: 2000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
traefik:
scale: 1
start_on_create: true
health_check:
healthy_threshold: 2
response_timeout: 2000
port: 8080
unhealthy_threshold: 3
interval: 2000
strategy: recreate
longpolling:
scale: 1
start_on_create: true
health_check:
healthy_threshold: 2
response_timeout: 2000
port: 8069
unhealthy_threshold: 60
initializing_timeout: 60000
interval: 2000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
postgresql-utils:
scale: 1
start_on_create: true
@lasley
Copy link
Author

lasley commented Oct 12, 2017

This is a Rancher Compose file to match the production Runbot deploy in this blog article

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment