feat: add app hello-world

This commit is contained in:
Nicolas Meienberger 2023-04-23 17:14:36 +02:00
parent 23d303e4bb
commit 59dc047910
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{
"$schema": "../schema.json",
"name": "Hello World",
"available": true,
"exposable": true,
"port": 8000,
"id": "hello-world",
"tipi_version": 1,
"version": "1.0.0",
"categories": [
"utilities"
],
"description": "Hello World web server in under 2 MB",
"short_desc": "Hello World web server in under 2 MB",
"author": "crccheck",
"source": "https://github.com/crccheck/docker-hello-world",
"form_fields": []
}

View File

@ -0,0 +1,17 @@
version: '3.7'
services:
hello-world:
container_name: hello-world
image: crccheck/hello-world
restart: unless-stopped
ports:
- ${APP_PORT}:8000
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.hello-world.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.hello-world.entrypoints: websecure
traefik.http.routers.hello-world.service: hello-world
traefik.http.routers.hello-world.tls.certresolver: myresolver
traefik.http.services.hello-world.loadbalancer.server.port: 7575

View File

@ -0,0 +1,2 @@
# Hello World
Tiny app that prints "Hello World" in the browser. Can be used to test the deployment of a new app.

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB