Sign inSign up

sabayon/github-bot

By sabayon

•Updated about 9 years ago

Sabayon GH builder bot

Image
0

1.1K

sabayon/github-bot repository overview

⁠Docker Build Status Sabayon Build Bot

⁠Deploy

Create a file that contains the environment of the application, and start the containers with the environment file:

  docker create \
                --entrypoint /bin/true \
                -v /app/shared \
                --name sabayon-github-bot-shared \
                sabayon/github-bot:latest

  docker run -tid \
                --name sabayon-github-bot-master \
                -p 80:3000 \
                --volumes-from sabayon-github-bot-shared \
                --env-file webhook_env \
                --restart always \
                sabayon/github-bot:latest \
                prefork -m production

  docker run -tid -v /var/run/docker.sock:/var/run/docker.sock \
                --name sabayon-github-bot-worker1 \
                --volumes-from sabayon-github-bot-shared \
                --env-file webhook_env \
                --restart always \
                sabayon/github-bot:latest \
                minion worker

Note: replace webhook_env in the command with your file name.

Tag summary

Content type

Image

Digest

Size

765.9 MB

Last updated

about 9 years ago

docker pull sabayon/github-bot