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: 4 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T10:47:58.000Z (about 2 years ago)
- Last Synced: 2025-01-24T06:25:55.423Z (6 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
[](https://hub.docker.com/r/theknarf/hello-world)
[](https://github.com/TheKnarf/hello-world)`Hello World` is a Docker container for showing a `Hello World` webpage, its useful for debugging.

## 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