fix(tf-services): verdaccio storage owned by 10001 (its UID), not 1000
Verdaccio runs as UID 10001; chowning its volume to 1000 caused EACCES on cache writes → 500 on every uncached proxy fetch (npm installs hung). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
6dfba051fd
commit
07626ceb47
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ write_files:
|
||||||
|
|
||||||
runcmd:
|
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, "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 ]
|
- [ systemctl, enable, --now, docker ]
|
||||||
- [ bash, -c, "cd /opt/services && docker compose up -d" ]
|
- [ bash, -c, "cd /opt/services && docker compose up -d" ]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue