Merge branch 'feat/docker' into 'master'
Feat/docker See merge request idotj/mastodon-embed-feed-timeline!26
This commit is contained in:
		
						commit
						347ec22188
					
				| @ -1,3 +1,6 @@ | ||||
| v3.13.3 - 16/01/2024 | ||||
| - Add Docker compose | ||||
| 
 | ||||
| v3.13.2 - 16/01/2024 | ||||
| - 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="keywords" 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> | ||||
|       html { | ||||
|         height: 100%; | ||||
| @ -39,6 +40,6 @@ | ||||
|       </div> | ||||
|     </div> | ||||
| 
 | ||||
|     <script src="mastodon-timeline.js"></script> | ||||
|     <script src="./mastodon-timeline.js"></script> | ||||
|   </body> | ||||
| </html> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 i.j
						i.j