You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `auto-upgrade-tool.sh` script automatically fetches the latest tags for `subquerynetwork/indexer-coordinator` and `subquerynetwork/indexer-proxy` from Docker Hub and updates the versions in your Docker Compose configuration file.
221
+
222
+
```sh
223
+
# Default usage with `docker-compose.yml`
224
+
./auto-upgrade-tool.sh
225
+
226
+
# Specify a custom Docker Compose file
227
+
./auto-upgrade-tool.sh -f my-compose.yml
228
+
229
+
# Force the script to run `docker compose up` without confirmation
🎉 docker-compose.yml has been updated to the latest tags.
244
+
Do you want to run 'docker compose up'? (yes/[no]): yes
245
+
🔄 Pulling latest images:
246
+
Command : docker compose pull
247
+
Config file: docker-compose.yml
248
+
WARN[0000] /Users/a/company_info/network-indexer-services/deploy/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
249
+
[+] Pulling 5/5
250
+
✔ redis Pulled 4.6s
251
+
✔ ipfs Pulled 2.9s
252
+
✔ proxy Pulled 2.9s
253
+
✔ coordinator Pulled 4.3s
254
+
✔ postgres Pulled 4.2s
255
+
🔄 Starting services:
256
+
Command : docker compose up -d
257
+
Config file: docker-compose.yml
258
+
WARN[0000] /Users/a/company_info/network-indexer-services/deploy/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
259
+
WARN[0000] A network with the name `indexer_services` exists but was not created for project "deploy".
260
+
Set `external: true` to use an existing network.
261
+
[+] Running 5/5
262
+
✔ Container indexer_cache Started 0.4s
263
+
✔ Container indexer_db Healthy 5.9s
264
+
✔ Container indexer_ipfs Healthy 5.9s
265
+
✔ Container indexer_coordinator Healthy 11.5s
266
+
✔ Container indexer_proxy Started 11.6s
267
+
```
268
+
269
+
### Step 4: Docker Compose File Update Example
270
+
271
+
After running the script, the `docker-compose.yml` file will be updated. Below is an example of the changes:
This will list all cron jobs for the root user, including the one you just added.
352
+
353
+
## 11. Upgrade Node Operator services (Ongoing)
208
354
209
355
To upgrade a Node Operator service, you will need to update the version of the image used in the docker-compose file. This can be done by updating the image field in the service definition to the new version you want to use.
0 commit comments