From 6ade16153c5d20a05af152a1f6cdf6cedc7fb58b Mon Sep 17 00:00:00 2001 From: tycrek Date: Thu, 26 Aug 2021 11:20:24 -0600 Subject: [PATCH] fixed some `docker-compose exec` missing the container name --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3109ff7..df7ca42 100755 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ Easy! Just pull the changes & run this one-liner: git pull # Rebuild the container with the new changes (uncomment the 2nd part if the update requires refreshing the config) -docker-compose up --force-recreate --build -d && docker image prune -f # docker-compose exec npm run setup && docker-compose restart +docker-compose up --force-recreate --build -d && docker image prune -f # docker-compose exec ass npm run setup && docker-compose restart ``` - `--force-recreate` will force the container to rebuild @@ -398,7 +398,7 @@ ass has a number of pre-made npm scripts for you to use. **All** of these script | `logs` | Uses the [tlog Socket plugin] to stream logs from the ass server to your terminal, with full colour support (Remember to set [`FORCE_COLOR`] if you're using Systemd) | | `docker-logs` | Alias for `docker-compose logs -f --tail=50 --no-log-prefix ass` | | `docker-update` | Alias for `git pull && docker-compose up --force-recreate --build -d && docker image prune -f` | -| `docker-resetup` | Alias for `docker-compose exec npm run setup && docker-compose restart` | +| `docker-resetup` | Alias for `docker-compose exec ass npm run setup && docker-compose restart` | [tlog Socket plugin]: https://github.com/tycrek/tlog#socket [`FORCE_COLOR`]: https://nodejs.org/dist/latest-v14.x/docs/api/cli.html#cli_force_color_1_2_3 diff --git a/package.json b/package.json index ef2b8a2..3e65175 100755 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "logs": "node ./node_modules/@tycrek/log/socketClient.js", "docker-logs": "docker-compose logs -f --tail=50 --no-log-prefix ass", "docker-update": "git pull && docker-compose up --force-recreate --build -d && docker image prune -f", - "docker-resetup": "docker-compose exec npm run setup && docker-compose restart" + "docker-resetup": "docker-compose exec ass npm run setup && docker-compose restart" }, "repository": "github:tycrek/ass", "keywords": [