rss2twitter/docker-compose.yml
2018-12-08 23:26:02 -06:00

26 lines
No EOL
592 B
YAML

version: '2'
services:
rss2twitter:
build: .
image: umputun/rss2twitter:latest
container_name: rss2twitter
hostname: rss2twitter
restart: always
logging: &default_logging
driver: json-file
options:
max-size: "10m"
max-file: "5"
environment:
- FEED=http://lorem-rss.herokuapp.com/feed?unit=second&interval=30
- REFRESH=1m
- TWI_CONSUMER_KEY
- TWI_CONSUMER_SECRET
- TWI_ACCESS_TOKEN
- TWI_ACCESS_SECRET
- "TEMPLATE={{.Title}} - {{.Link}} #mytag"
# command: ["/srv/rss2twitter", "--dry"]