Skip to content

Commit 8b470f3

Browse files
committed
Issue #575: Update remaining instances of old docker-compose command.
1 parent d4170cf commit 8b470f3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ To upgrade Pi-hole to the latest version, run the following commands:
9797

9898
```bash
9999
cd ~/pi-hole #
100-
docker-compose pull # pulls the latest images
101-
docker-compose up -d --no-deps # restarts containers with newer images
100+
docker compose pull # pulls the latest images
101+
docker compose up -d --no-deps # restarts containers with newer images
102102
docker system prune --all # deletes unused images
103103
```
104104

105105
### Configurations and internet-monitoring images
106106

107-
Upgrades for the other configurations are similar (go into the directory, and run the same `docker-compose` commands. Make sure to `cd` into the `config_dir` that you use in your `config.yml` file.
107+
Upgrades for the other configurations are similar (go into the directory, and run the same `docker compose` commands. Make sure to `cd` into the `config_dir` that you use in your `config.yml` file.
108108

109109
Alternatively, you may update the initial `config.yml` in the the repo folder and re-run the main playbook: `ansible-playbook main.yml`. At some point in the future, a dedicated upgrade playbook may be added, but for now, upgrades may be performed manually as shown above.
110110

@@ -121,16 +121,16 @@ To remove `internet-pi` from your system, run the following commands (assuming t
121121
cd ~/internet-monitoring
122122
123123
# Shut down internet-monitoring containers and delete data volumes.
124-
docker-compose down -v
124+
docker compose down -v
125125
126126
# Enter the pi-hole directory.
127127
cd ~/pi-hole
128128
129129
# Shutdown pi-hole containers and delete data volumes.
130-
docker-compose down -v
130+
docker compose down -v
131131
132132
# Delete all the unused container images, volumes, etc. from the system.
133-
docker system prune -f
133+
docker system prune -af
134134
```
135135

136136
Do the same thing for any of the other optional directories added by this project (e.g. `shelly-plug-prometheus`, `starlink-exporter`, etc.).

internet-monitoring/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For speedtest the only relevant configuration is how often you want the check to
2424

2525
Once configurations are done, run the following command:
2626

27-
$ docker-compose up -d
27+
$ docker compose up -d
2828

2929
That's it. docker-compose builds the entire Grafana and Prometheus stack automagically.
3030

0 commit comments

Comments
 (0)