full bork of content locations / menu + pen

This commit is contained in:
cellarspoon
2022-01-17 14:13:24 +01:00
parent 2b21d9d73a
commit d6faf134f9
6 changed files with 48 additions and 20 deletions

View File

@ -33,17 +33,17 @@ services:
- "traefik.http.services.coop-cloud-site.loadbalancer.server.port=1313"
- "traefik.http.routers.coop-cloud-site.tls.certresolver=production"
peertube:
tv:
image: decentral1se/beta.lumbung.space-scripts:latest
volumes:
- content:/src/content
environment:
OUTPUT_DIR: /src/content/video
OUTPUT_DIR: /src/content/tv
command: |
bash -c "
while true
do
echo 'generating peertube posts...'
echo 'generating tv posts...'
/usr/local/bin/lumbunglib-vid
echo 'going to sleep for 5 minutes...'
sleep 300
@ -68,7 +68,7 @@ services:
done
"
feed:
shouts:
image: decentral1se/beta.lumbung.space-scripts:latest
volumes:
- content:/src/content
@ -76,32 +76,52 @@ services:
- source: feeds_list
target: /src/feeds_list.txt
environment:
OUTPUT_DIR: /src/content/feed
OUTPUT_DIR: /src/content/shouts
command: |
bash -c "
while true
do
echo 'generating feed posts...'
echo 'generating shouts posts...'
/usr/local/bin/lumbunglib-feed
echo 'going to sleep for 5 minutes...'
sleep 300
done
"
hashtag:
pen:
image: decentral1se/beta.lumbung.space-scripts:latest
volumes:
- content:/src/content
configs:
- source: feeds_list_pen
target: /src/feeds_list.txt
environment:
OUTPUT_DIR: /src/content/pen
command: |
bash -c "
while true
do
echo 'generating pen posts...'
/usr/local/bin/lumbunglib-feed
echo 'going to sleep for 5 minutes...'
sleep 300
done
"
social:
image: decentral1se/beta.lumbung.space-scripts:latest
volumes:
- content:/src/content/
secrets:
- masto_key
environment:
OUTPUT_DIR: /src/content/hash
OUTPUT_DIR: /src/content/social
command: |
bash -c "
export MASTODON_AUTH_TOKEN=`cat /run/secrets/masto_key`;
while true
do
echo 'generating mastodon posts...'
echo 'generating social posts...'
/usr/local/bin/lumbunglib-hash
echo 'going to sleep for 5 minutes...'
sleep 300
@ -119,6 +139,9 @@ configs:
feeds_list:
name: beta_lumbung_space_feeds_list_v1
file: feeds_list.txt
feeds_list_pen:
name: beta_lumbung_space_feeds_list_pen_v1
file: feeds_list_pen.txt
secrets:
masto_key: