This commit is contained in:
parent
4ee293e74e
commit
0f1fe1dcdb
24
compose.yml
24
compose.yml
@ -88,6 +88,26 @@ services:
|
||||
done
|
||||
"
|
||||
|
||||
hashtag:
|
||||
image: decentral1se/beta.lumbung.space-scripts:latest
|
||||
volumes:
|
||||
- content:/src/content/mastodon
|
||||
secrets:
|
||||
- masto_key
|
||||
environment:
|
||||
OUTPUT_DIR: /src/content/feed
|
||||
command: |
|
||||
bash -c "
|
||||
export MASTODON_AUTH_TOKEN=`cat /run/secrets/masto_key`;
|
||||
while true
|
||||
do
|
||||
echo 'generating mastodon posts...'
|
||||
/usr/local/bin/lumbunglib-hash
|
||||
echo 'going to sleep for 5 minutes...'
|
||||
sleep 300
|
||||
done
|
||||
"
|
||||
|
||||
volumes:
|
||||
content:
|
||||
|
||||
@ -99,3 +119,7 @@ configs:
|
||||
feeds_list:
|
||||
name: beta_lumbung_space_feeds_list_v1
|
||||
file: feeds_list.txt
|
||||
|
||||
secrets:
|
||||
masto_key:
|
||||
external: true
|
||||
|
Loading…
Reference in New Issue
Block a user