Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theknarf/hello-world
Hello World is a Docker container for showing a Hello World webpage, its useful for debugging.
https://github.com/theknarf/hello-world
Last synced: about 2 months ago
JSON representation
Hello World is a Docker container for showing a Hello World webpage, its useful for debugging.
- Host: GitHub
- URL: https://github.com/theknarf/hello-world
- Owner: TheKnarf
- Created: 2021-04-01T09:05:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T10:47:58.000Z (over 1 year ago)
- Last Synced: 2024-10-14T11:14:33.793Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 466 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Hello World
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/theknarf/hello-world?style=for-the-badge)](https://hub.docker.com/r/theknarf/hello-world)
[![GitHub Repo stars](https://img.shields.io/github/stars/theknarf/hello-world?style=for-the-badge)](https://github.com/TheKnarf/hello-world)`Hello World` is a Docker container for showing a `Hello World` webpage, its useful for debugging.
![Screenshot of the app](./screenshot.png)
## Docker setup
You can start the container as following using Docker:
```bash
docker run -d -p 80:80 theknarf/hello-world
```## Docker compose setup
Or using `docker-compose` you can start it as following.
Add the following to your ´docker-compose.yml`:```
version: "3.8"
services:
helloworld:
image: theknarf/hello-world
restart: unless-stopped
environment:
- title=Hello two.
- bgcolor=#4B3F72
- textcolor=#EEE5E9
ports:
- 80:80
```You can change some properties like colors and text using enviroment variables.
Enviroment variable|Default value|Description
-------------------|-------------|-----------
title | Hello World. | Title for the page
bgcolor | #2C5F2DFF | Background color
textcolor | #FFE77AFF | Text color
fontFamily | sans-serif | Font Family
fontSize | 20vh | Font Size
top | 20vh | Title top property
marginLeft | 17vw | Title margin-left property
googleFontFamily | | Google font name
googleFontDisplay | | Google font display type