This commit is contained in:
parent
72ed8fa4a9
commit
2dae4e04ca
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -1,6 +1,24 @@
|
||||||
# goStatic [](https://hub.docker.com/r/pierrezemb/gostatic/) [](https://hub.docker.com/r/pierrezemb/gostatic/) [](https://travis-ci.org/PierreZ/goStatic) [](https://godoc.org/github.com/PierreZ/goStatic)
|
# goStatic [](https://hub.docker.com/r/pierrezemb/gostatic/) [](https://hub.docker.com/r/pierrezemb/gostatic/) [](https://travis-ci.org/PierreZ/goStatic) [](https://godoc.org/github.com/PierreZ/goStatic)
|
||||||
A really small, multi-arch, static web server for Docker
|
A really small, multi-arch, static web server for Docker
|
||||||
|
|
||||||
|
# La mia applicazione
|
||||||
|
|
||||||
|
with docker
|
||||||
|
|
||||||
|
sudo docker run -d -p 8120:8043 -v /home/nvme/dockerdata/myweb:/srv/http --name myweb pierrezemb/gostatic
|
||||||
|
|
||||||
|
with docker compose or portainer
|
||||||
|
|
||||||
|
services:
|
||||||
|
gostatic:
|
||||||
|
ports:
|
||||||
|
- 8120:8043
|
||||||
|
volumes:
|
||||||
|
- /home/nvme/dockerdata/myweb:/srv/http
|
||||||
|
container_name: myweb
|
||||||
|
image: pierrezemb/gostatic
|
||||||
|
|
||||||
|
|
||||||
## The goal
|
## The goal
|
||||||
My goal is to create to smallest docker container for my web static files. The advantage of Go is that you can generate a fully static binary, so that you don't need anything else.
|
My goal is to create to smallest docker container for my web static files. The advantage of Go is that you can generate a fully static binary, so that you don't need anything else.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue