Expose port 80 in the container

This commit is contained in:
Yannik Rödel 2022-04-19 17:55:34 +02:00
parent ea0ee905a0
commit e775b0571e

View file

@ -52,6 +52,8 @@
name = "angestoepselt-site"; name = "angestoepselt-site";
tag = "latest"; tag = "latest";
# See here for the documentation on this option:
# https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions
config = { config = {
Env = [ Env = [
# We need to provide these default variables because otherwise # We need to provide these default variables because otherwise
@ -59,6 +61,9 @@
"ZAMMAD_URL=https://ticket.z31.it" "ZAMMAD_URL=https://ticket.z31.it"
"ZAMMAD_GROUP=testgruppe" "ZAMMAD_GROUP=testgruppe"
]; ];
ExposedPorts = {
"80/tcp" = {};
};
Cmd = [ Cmd = [
"${pkgs.lighttpd}/bin/lighttpd" "${pkgs.lighttpd}/bin/lighttpd"
"-Df" "-Df"