diff --git a/firewall-29eexhrh.json b/firewall-29eexhrh.json new file mode 100644 index 0000000..bf96f3e --- /dev/null +++ b/firewall-29eexhrh.json @@ -0,0 +1,65 @@ +{ + "main": { + "SERVICE_NAME": "firewalls", + "DOMAIN": "null" + }, + "containers": [ + { + "IMAGE": "registry.format.hu/firewall", + "NAME": "null", + "MEMORY": "64M", + "IP": "null", + "NETWORK": "host", + "VOLUMES": [ + { + "SOURCE": "/run/", + "DEST": "/run/", + "TYPE": "rw" + }, + { + "SOURCE": "/etc/user/config/services", + "DEST": "/services", + "TYPE": "ro" + } + ], + "PORTS": [ ], + "READYNESS": [ + {"tcp": ""}, + {"HTTP": ""}, + {"EXEC": "/ready.sh"} + ], + "ENVS": [ + { + "NAME": "CHAIN", + "VALUE": "DOCKER-USER" + }, + { + "NAME": "SOURCE_IP", + "VALUE": "172.18.100.2" + }, + { + "NAME": "TARGET_IP", + "VALUE": "172.18.254.254" + }, + { + "NAME": "TYPE", + "VALUE": "tcp" + }, + { + "NAME": "TARGET_PORT", + "VALUE": "80" + }, + { + "NAME": "COMMENT", + "VALUE": "29eexhrh" + } + ], + "EXTRA": "--privileged", + "DEPEND": "null", + "START_ON_BOOT": "false", + "CMD": "null", + "PRE_START": "null", + "POST_START": "null" + } + ] +} diff --git a/letsencrypt.json b/letsencrypt.json new file mode 100644 index 0000000..88dca77 --- /dev/null +++ b/letsencrypt.json @@ -0,0 +1,49 @@ +{ + "main": { + "SERVICE_NAME": "letsencrypt", + "DOMAIN": "null" + }, + "networks": [ + { + "NAME": "letsencrypt", + "DRIVER": "bridge", + "SUBNET": "172.18.254.0/24", + "RANGE": "172.18.254.0/24", + "GATEWAY": "172.18.254.1" + } + ], + "containers": [ + { + "IMAGE": "registry.format.hu/neilpang/acme.sh", + "NAME": "letsencrypt", + "MEMORY": "64M", + "IP": "172.18.254.254", + "NETWORK": "letsencrypt", + "VOLUMES": [ + { + "SOURCE": "/etc/ssl/keys/", + "DEST": "/acme.sh/", + "TYPE": "rw" + }, + { + "SOURCE": "/etc/user/config/domains", + "DEST": "/domains", + "TYPE": "ro" + } + ], + "PORTS": [ ], + "ENV_FILES": [ "/etc/user/config/user.json" ], + "READYNESS": [ + {"tcp": ""}, + {"HTTP": ""}, + {"EXEC": "/ready.sh"} + ], + "EXTRA": "", + "DEPEND": "null", + "START_ON_BOOT": "false", + "CMD": "null", + "PRE_START": "null", + "POST_START": [ "firewall-29eexhrh" ] + } + ] +} diff --git a/user.json b/user.json new file mode 100644 index 0000000..3b43521 --- /dev/null +++ b/user.json @@ -0,0 +1,6 @@ +{ + "letsencrypt": { + "EMAIL": "postmaster@format.hu", + "DOCKER_REGISTRY_URL": "registry.format.hu" + } +}