A docker compose file is provided in order to provide the capability of execute Twitter Scheduler locally, allowing to publish tweets in your own Twitter account.
Is needed to have docker and docker compose installed.
Log in your Twitter account and get your Twitter API credentials: https://developer.twitter.com/en/portal/dashboard
Add them to docker-compose.yml file:
environment:
- TWITTER_CONSUMER_KEY=<your-twitter-consumer-key>
- TWITTER_CONSUMER_SECRET=<your-twitter-consumer-secret>
- TWITTER_ACCESS_TOKEN=<your-twitter-access-token>
- TWITTER_ACCESS_TOKEN_SECRET=<your-twitter-access-token-secret>
From repository root path:
cd docker-compose
docker-compose up
Application is deployed: http://localhost:8080/
docker-compose down