Updated to newest Docker version syntax

This commit is contained in:
2022-06-17 10:28:34 +01:00
parent 25115a6fae
commit 73f31016fd
2 changed files with 16 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ The clien is designed to work on a server.
- A Debian- or Ubuntu-based server, preferably the latest distribution.
- Docker (specifically, Docker Engine)
- Docker-Compose
- Docker Compose
- Git
### Installation
@@ -28,9 +28,13 @@ The first step is to ensure all the prerequisites are available on the server.
To set up the server, consult some of the comprehensive guides on various hosting platforms like Linode or DigitalOcean.
Here is a [good starting point on setting up a server](https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-22-04).
To install Docker and Docker-Compose, consult the respective documentation:
To install Docker and Docker Compose, consult the respective documentation:
- [Install on Ubuntu](https://docs.docker.com/engine/install/ubuntu/) or [Install on Debian](https://docs.docker.com/engine/install/debian/)
- [Install Docker-Compose](https://github.com/docker/compose) as per these instructions.
- Docker Compose should be installed as part of that.
```
At the time of writing, there has been an upgrade to Docker and Docker Compose, meaning the syntax below might be different between versions.
```
Check if Git is installed on your server using the `git --version` command.
If it isn't installed, install it.
@@ -131,7 +135,7 @@ Everything should be good to run on autopilot at this point.
Navigate to the root folder of the app, the folder where you have `install-script.sh` and `docker-compose.yml`.
Run the following command:
```sudo docker-compose up -d```
```sudo docker compose up -d```
And you should have the stack running.
You can register in the app and begin using it.