mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-16 16:41:03 +02:00
Update docs with latest 2FAuth version
This commit is contained in:
@ -81,7 +81,7 @@ docker build -t 2fauth/2fauth https://github.com/Bubka/2FAuth.git
|
|||||||
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:
|
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
|
```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
|
### Build the image for a specific commit
|
||||||
|
@ -5,7 +5,7 @@ This applies to Debian Buster, but similar instructions should apply for other D
|
|||||||
## What we will do
|
## What we will do
|
||||||
|
|
||||||
- We will use PHP 7.4
|
- 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 setup to use an Sqlite database
|
||||||
- We will use Nginx and PHP-FPM to serve our site on port `8000`
|
- 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
|
- We will run all this as user `www-data` without root
|
||||||
@ -35,7 +35,7 @@ Let's place 2fauth's code in `/srv`:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p /srv
|
mkdir -p /srv
|
||||||
VERSION=v2.1.0
|
VERSION=v3.0.0
|
||||||
wget -qO- "https://github.com/Bubka/2FAuth/archive/refs/tags/${VERSION}.tar.gz" | \
|
wget -qO- "https://github.com/Bubka/2FAuth/archive/refs/tags/${VERSION}.tar.gz" | \
|
||||||
tar -xz --strip-components=1 -C /srv
|
tar -xz --strip-components=1 -C /srv
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user