docs: use new docker compose command (#3054)
Improve the Docker install documentation, along with the `docker compose` commands.
This commit is contained in:
parent
e0b1eba1bb
commit
70735d4431
|
@ -22,7 +22,7 @@ First, set the version you want to install:
|
||||||
echo LIBRETIME_VERSION="{vars.version}" > .env
|
echo LIBRETIME_VERSION="{vars.version}" > .env
|
||||||
</CodeBlock>
|
</CodeBlock>
|
||||||
|
|
||||||
Download the docker-compose files from the repository:
|
Download the docker compose files from the repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Load LIBRETIME_VERSION variable
|
# Load LIBRETIME_VERSION variable
|
||||||
|
@ -106,16 +106,16 @@ You can find more details in the `docker-compose.yml` file or on the external se
|
||||||
Next, run the following commands to setup the database:
|
Next, run the following commands to setup the database:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose run --rm api libretime-api migrate
|
docker compose run --rm api libretime-api migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, start the services, and check that they're running using the following commands:
|
Finally, start the services, and check that they're running using the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose up -d
|
docker compose up -d
|
||||||
|
|
||||||
docker-compose ps
|
docker compose ps
|
||||||
docker-compose logs -f
|
docker compose logs -f
|
||||||
```
|
```
|
||||||
|
|
||||||
## Securing LibreTime
|
## Securing LibreTime
|
||||||
|
|
Loading…
Reference in New Issue