29 lines
977 B
YAML
29 lines
977 B
YAML
# This is a docker compose file to demonstrate and test the mastodon-timeline widget
|
|
# Run this docker CLI from the root repo directory:
|
|
#
|
|
# $ docker compose up
|
|
|
|
version: "3.3"
|
|
|
|
services:
|
|
lighttpd:
|
|
image: jitesoft/lighttpd
|
|
ports:
|
|
- "8080:80"
|
|
- "8443:443"
|
|
volumes:
|
|
- ./src/mastodon-timeline.css:/var/www/src/mastodon-timeline.css
|
|
- ./src/mastodon-timeline.js:/var/www/src/mastodon-timeline.js
|
|
- ./examples/local-timeline.html:/var/www/index.html
|
|
- ./examples/profile-timeline.html:/var/www/profile-timeline.html
|
|
- ./examples/hashtag-timeline.html:/var/www/hashtag-timeline.html
|
|
- ./examples/theme-timeline.html:/var/www/theme-timeline.html
|
|
- ./examples/multiple-timelines.html:/var/www/multiple-timelines.html
|
|
environment:
|
|
- PORT=80
|
|
- SERVER_NAME=mastodon-timeline
|
|
- SERVER_ROOT=/var/www
|
|
- CONFIG_FILE=/etc/lighttpd/lighttpd.conf
|
|
- SKIP_HEALTHCHECK=false
|
|
- MAX_FDS=1024
|