feat: add content generation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
See ruangrupa/living-room#17.
This commit is contained in:
35
compose.yml
35
compose.yml
@ -33,6 +33,41 @@ services:
|
||||
- "traefik.http.services.coop-cloud-site.loadbalancer.server.port=1313"
|
||||
- "traefik.http.routers.coop-cloud-site.tls.certresolver=production"
|
||||
|
||||
peertube:
|
||||
image: decentral1se/beta.lumbung.space-scripts:latest
|
||||
volumes:
|
||||
- content:/src/content
|
||||
environment:
|
||||
OUTPUT_DIR: /src/content/video
|
||||
command: |
|
||||
bash -c "
|
||||
while true
|
||||
do
|
||||
echo 'generating peertube posts...'
|
||||
lumbunglib-vid
|
||||
echo 'going to sleep for 5 minutes...'
|
||||
sleep 300
|
||||
done
|
||||
"
|
||||
|
||||
calendar:
|
||||
image: decentral1se/beta.lumbung.space-scripts:latest
|
||||
volumes:
|
||||
- content:/src/content
|
||||
environment:
|
||||
OUTPUT_DIR: /src/content/video
|
||||
CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"
|
||||
command: |
|
||||
bash -c "
|
||||
while true
|
||||
do
|
||||
echo 'generating calendar posts...'
|
||||
lumbunglib-cal
|
||||
echo 'going to sleep for 5 minutes...'
|
||||
sleep 300
|
||||
done
|
||||
"
|
||||
|
||||
volumes:
|
||||
content:
|
||||
|
||||
|
Reference in New Issue
Block a user