Skip to content

Instantly share code, notes, and snippets.

@sandlbn
Created April 3, 2015 14:01
Show Gist options
  • Save sandlbn/ab33eee8f99d00286722 to your computer and use it in GitHub Desktop.
Save sandlbn/ab33eee8f99d00286722 to your computer and use it in GitHub Desktop.
docker-registry.conf
description "Docker Registry"
start on runlevel [2345]
stop on runlevel [016]
respawn
respawn limit 10 5
script
exec gunicorn --access-logfile /var/log/docker-registry/access.log --error-logfile /var/log/docker-registry/server.log -k gevent --max-requests 100 --graceful-timeout 3600 -t 3600 -b 0.0.0.0:5000 -w 8 docker_registry.wsgi:application
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment