feat: add app hello-world
This commit is contained in:
parent
23d303e4bb
commit
59dc047910
18
apps/hello-world/config.json
Normal file
18
apps/hello-world/config.json
Normal 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": []
|
||||||
|
}
|
17
apps/hello-world/docker-compose.yml
Normal file
17
apps/hello-world/docker-compose.yml
Normal 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
|
2
apps/hello-world/metadata/description.md
Normal file
2
apps/hello-world/metadata/description.md
Normal 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.
|
BIN
apps/hello-world/metadata/logo.jpg
Normal file
BIN
apps/hello-world/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue
Block a user