diff --git a/dockers/install.md b/dockers/install.md index 0df28245b20ae9a122ff0ab6f13e9a0df51fdb24..edf0ee11a475fefcd922163dadd22f16c48d7db0 100644 --- a/dockers/install.md +++ b/dockers/install.md @@ -1,5 +1,6 @@ -== Setup instance +## Setup instance Based on Christians cloud-init file: +` #cloud-config # upgrade packages @@ -15,12 +16,19 @@ packages: runcmd: - usermod -aG docker ubuntu +` + Think about the security group for the isntance (e.g. to enable access to webgut 7001 port should be open). There is airflows group in HDF. -== Prepare env +## Prepare env + +` mkdir ./dags ./logs ./plugins echo -e "AIRFLOW_UID=$(id -u)\nAIRFLOW_GID=0" > .env docker-compose up airflow-init +` -== Start-up +## Start-up +` docker-compose up -d +`