build: package the server as an OCI container image
This commit is contained in:
parent
088e860cad
commit
36faa4fb93
3 changed files with 72 additions and 0 deletions
37
docker/itsybitsy.toml
Normal file
37
docker/itsybitsy.toml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
version = 1
|
||||
|
||||
[site.demo]
|
||||
root = "./content"
|
||||
hosts = ["localhost", "127.0.0.1"]
|
||||
|
||||
[listener.web]
|
||||
protocol = "http"
|
||||
bind = "0.0.0.0:8080"
|
||||
formats = ["wml", "xhtmlmp", "html"]
|
||||
default_site = "demo"
|
||||
|
||||
[listener.spartan]
|
||||
protocol = "spartan"
|
||||
bind = "0.0.0.0:3000"
|
||||
formats = ["gemtext"]
|
||||
default_site = "demo"
|
||||
|
||||
[listener.nex]
|
||||
protocol = "nex"
|
||||
bind = "0.0.0.0:1900"
|
||||
formats = ["text"]
|
||||
site = "demo"
|
||||
|
||||
# Plaintext: a TLS terminator in front of the container owns 1965 and forwards
|
||||
# here, as it does when deployed bare.
|
||||
[listener.gemini]
|
||||
protocol = "gemini"
|
||||
bind = "0.0.0.0:1965"
|
||||
formats = ["gemtext"]
|
||||
default_site = "demo"
|
||||
|
||||
[listener.gopher]
|
||||
protocol = "gopher"
|
||||
bind = "0.0.0.0:7070"
|
||||
formats = ["text"]
|
||||
site = "demo"
|
||||
Loading…
Add table
Add a link
Reference in a new issue