Skip to content

Instantly share code, notes, and snippets.

@g3rv4
Last active May 12, 2017 18:52
Show Gist options
  • Save g3rv4/3ba27f12fe9f01b6667e699d3f2643b1 to your computer and use it in GitHub Desktop.
Save g3rv4/3ba27f12fe9f01b6667e699d3f2643b1 to your computer and use it in GitHub Desktop.
How to set up the retweeter using docker-compose. In order for it to work, you need to tweak the environment variables (except `CELERY_BROKER`) and the `/local/path/to/db`
version: '2'
services:
somenameyoulike:
image: 'g3rv4/retweeter'
hostname: somenameyoulike
restart: always
environment:
- TW_APP_KEY=
- TW_APP_SECRET=
- TW_OAUTH_TOKEN=
- TW_OAUTH_SECRET=
- WHAT_TO_TRACK=
- CELERY_BROKER=redis://localhost:6379/1
volumes:
- '/local/path/to/db:/var/db'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment