diff --git a/README.md b/README.md index a1b8a057f6495a639242df9ca4af0f3ea5f3e392..b923c923f06196ed7814787478cb73676a4bf6e6 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ After the resources provisionned with Terraform, Cloud-init will configure the i - Webtop After deployment, each resource can be accessed though HTTPS depending their count number : -- https://desktop-1.rust1.daag.alpha.grandlyon.com/ -- https://code-1.rust1.daag.alpha.grandlyon.com/ +- https://desktop-1.rust-1.daag.alpha.grandlyon.com/ +- https://code-1.rust-1.daag.alpha.grandlyon.com/ User : - Username: abc @@ -42,7 +42,7 @@ Infrastructure is ready, the cloud-init script will run at boot 3 services and l ## Setup Terraform Locally First, you must setup 2 local files for your variables : -C2sB13r12p1546dfsdf8cv151 + ### variables-local.tf Create a file **variables-local.tf** containing the following code : diff --git a/instance-scripts/cloud-init.yml b/instance-scripts/cloud-init.yml index c19e7b8e9f8d90cca87b5f261e44ad0e9971cfe0..acbfdff6b8cba3f67a289f4f64f1f8634d391527 100644 --- a/instance-scripts/cloud-init.yml +++ b/instance-scripts/cloud-init.yml @@ -83,4 +83,4 @@ runcmd: # Run Webtop Container # - "docker run -d --name=webtop --security-opt seccomp=unconfined -e PUID=0 -e PGID=0 -e TZ=Europe/Paris -e SUBFOLDER=/ -e KEYBOARD=fr-fr-azerty -e AUTO_LOGIN=false -p 8081:3000 -v /root/webtop_data/:/config -v /var/run/docker.sock:/var/run/docker.sock --shm-size=8gb --cap-add=NET_ADMIN --privileged --restart unless-stopped --sysctl net.ipv6.conf.all.disable_ipv6=0 lscr.io/linuxserver/webtop:ubuntu-xfce" - - 'echo -e "$(scw-userdata user_password)\n$(scw-userdata user_password)" | docker exec -i webtop passwd abc' \ No newline at end of file + - 'echo "$(scw-userdata user_password)\n$(scw-userdata user_password)" | docker exec -i webtop passwd abc' \ No newline at end of file