Last active
May 12, 2017 18:52
-
-
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`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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