Feat/docker
This commit is contained in:
parent
fb5c35c45b
commit
1f57e9ba0b
@ -1,3 +1,6 @@
|
|||||||
|
v3.13.3 - 16/01/2024
|
||||||
|
- Add Docker compose
|
||||||
|
|
||||||
v3.13.2 - 16/01/2024
|
v3.13.2 - 16/01/2024
|
||||||
- Fix truncate CSS class name
|
- Fix truncate CSS class name
|
||||||
|
|
||||||
|
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# 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/index.html:/var/www/index.html
|
||||||
|
- ./src/mastodon-timeline.js:/var/www/mastodon-timeline.js
|
||||||
|
- ./src/mastodon-timeline.css:/var/www/mastodon-timeline.css
|
||||||
|
environment:
|
||||||
|
- PORT=80
|
||||||
|
- SERVER_NAME=mastodon-timeline
|
||||||
|
- SERVER_ROOT=/var/www
|
||||||
|
- CONFIG_FILE=/etc/lighttpd/lighttpd.conf
|
||||||
|
- SKIP_HEALTHCHECK=false
|
||||||
|
- MAX_FDS=1024
|
@ -7,7 +7,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="keywords" content="mastodon, embed timeline" />
|
<meta name="keywords" content="mastodon, embed timeline" />
|
||||||
<meta name="description" content="Mastodon embed timeline" />
|
<meta name="description" content="Mastodon embed timeline" />
|
||||||
<link rel="stylesheet" href="mastodon-timeline.css" />
|
<link rel="shortcut icon" href="#" />
|
||||||
|
<link rel="stylesheet" href="./mastodon-timeline.css" />
|
||||||
<style>
|
<style>
|
||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -39,6 +40,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="mastodon-timeline.js"></script>
|
<script src="./mastodon-timeline.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user