diff --git a/cloud-init.yaml b/cloud-init.yaml index 8daf42a..5c054ab 100644 --- a/cloud-init.yaml +++ b/cloud-init.yaml @@ -55,7 +55,7 @@ write_files: runcmd: - [ bash, -c, "fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo '/swapfile none swap sw 0 0' >> /etc/fstab" ] - - [ bash, -c, "mkdir -p /opt/services/ct /opt/services/mc /opt/services/quinn /opt/services/verdaccio && chown -R 1000:1000 /opt/services/ct /opt/services/mc /opt/services/quinn /opt/services/verdaccio" ] + - [ bash, -c, "mkdir -p /opt/services/ct /opt/services/mc /opt/services/quinn /opt/services/verdaccio && chown -R 1000:1000 /opt/services/ct /opt/services/mc /opt/services/quinn && chown -R 10001:10001 /opt/services/verdaccio" ] - [ systemctl, enable, --now, docker ] - [ bash, -c, "cd /opt/services && docker compose up -d" ]