Update docs with latest 2FAuth version

This commit is contained in:
Bubka 2022-03-31 10:07:36 +02:00
parent f131da845e
commit abc97f1ae8
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ ### Build the image for a specific release
You can build a [specific release](https://github.com/Bubka/2FAuth/releases) by appending the release tag with `#<release-tag>` to the command. For example:
```sh
docker build -t 2fauth/2fauth https://github.com/Bubka/2FAuth.git#v2.1.0
docker build -t 2fauth/2fauth https://github.com/Bubka/2FAuth.git#v3.0.0
```
### Build the image for a specific commit

View File

@ -5,7 +5,7 @@ # Debian Setup
## What we will do
- We will use PHP 7.4
- We will use version v2.1.0 of 2fauth
- We will use version v3.0.0 of 2fauth
- We will setup to use an Sqlite database
- We will use Nginx and PHP-FPM to serve our site on port `8000`
- We will run all this as user `www-data` without root
@ -35,7 +35,7 @@ ## Download the code
```bash
mkdir -p /srv
VERSION=v2.1.0
VERSION=v3.0.0
wget -qO- "https://github.com/Bubka/2FAuth/archive/refs/tags/${VERSION}.tar.gz" | \
tar -xz --strip-components=1 -C /srv
```