https://github.com/dmartingarcia/docker-minimal-http-server
https://github.com/dmartingarcia/docker-minimal-http-server
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmartingarcia/docker-minimal-http-server
- Owner: dmartingarcia
- Created: 2021-11-29T19:02:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T23:56:11.000Z (9 months ago)
- Last Synced: 2024-09-12T09:51:09.640Z (9 months ago)
- Language: HTML
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-homeautomation
It is part of a [set of repositories](https://github.com/search?q=user%3Admartingarcia+docker) that contain dockerised environments for small applications.
In this case, it contains a self-efficient minimal *http server* setup, that can serve static pages with a minimal memory footprint.
## How to use it
```
cp .env.example .env
docker compose up -d
```And browse into `http://localhost:9090`.
After that, you can also set your own files inside of the `/static` folder
## Traefik integration`
It also contains a Traefik integration, that interact with this reverse proxy, routing request to each container in case it matches the specified domain
There's a subdomain exposed:
- apps.domain.com## .env setup
It contains a basic set of variables like:
- http host that uses Traefik to match requests
## Docker Traefik
If you want to use this Traefik integration, [take a look at this repository](https://github.com/dmartingarcia/docker-traefik)