Skip to content

Commit

Permalink
fixed Reddit variables in the README and added example docker-compose…
Browse files Browse the repository at this point in the history
….yml (#33)
  • Loading branch information
wtweekPR authored Dec 13, 2024
1 parent 34cd715 commit 4e747be
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Facebook requires you to provide cookies. Download them in your browser using [a

### Reddit

For extended reddit support you need to create an app on reddit and add the following environment variables:
For extended reddit support you need to [create an app on reddit](https://www.reddit.com/prefs/apps) and add the following environment variables:

```bash
REDDIT_API_TOKEN=<your_reddit_api_token>
REDDIT_API_SECRET=<your_reddit_api_secret>
REDDIT_CLIENT_ID=<your_reddit_api_token>
REDDIT_CLIENT_SECRET=<your_reddit_api_secret>
REDDIT_USER_AGENT=<name_version_and_your_username>
```

Expand Down
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
services:
video-embed-bot:
image: video-embed-bot
container_name: video-embed-bot
restart: unless-stopped
environment:
DISCORD_API_TOKEN: "<bot_token>"
COMPACT_POST: "false"
REDDIT_CLIENT_ID: "<your_reddit_api_token>"
REDDIT_CLIENT_SECRET: "<your_reddit_api_secret>"
REDDIT_USER_AGENT: "<name_version_and_your_username>"
TWITTER_USERNAME: "<your_twitter_username>"
TWITTER_EMAIL: "<your_twitter_email>"
TWITTER_PASSWORD: "<your_twitter_password>"
INSTAGRAM_USERNAME: "<your_instagram_username>"
volumes:
- ./instagram.sess:/app/instagram.sess # Instagram session file
- ./cookies.txt:/app/cookies.txt # Facebook cookies

0 comments on commit 4e747be

Please sign in to comment.