Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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