update
This commit is contained in:
32
Securite/2fauth/README.md
Normal file
32
Securite/2fauth/README.md
Normal file
@ -0,0 +1,32 @@
|
||||

|
||||
|
||||
# 2FAuth
|
||||
|
||||
Google Authenticator dans le passé, outre le fait que ça me dérangeait un peu de tout confier à Google, il m'est arrivé une "blague", j'ai changé de téléphone et j'ai oublié de sauvegarder le nécessaire pour mes 2FA.
|
||||
|
||||
# Installation
|
||||
|
||||
Pour utiliser 2FAuth tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser 2FAuth avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
Pour utiliser 2FAuth avec Nginx
|
||||
```bash
|
||||
docker compose -f docker-compose-nginx.yml up -d
|
||||
```
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
|
||||
# More info
|
||||
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
|
||||
|
||||
# Buy me a coffe
|
||||
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
0
Securite/2fauth/docker-compose-traefik.yml
Normal file
0
Securite/2fauth/docker-compose-traefik.yml
Normal file
59
Securite/2fauth/docker-compose.yml
Normal file
59
Securite/2fauth/docker-compose.yml
Normal file
@ -0,0 +1,59 @@
|
||||
version: "3"
|
||||
services:
|
||||
2fauth:
|
||||
image: 2fauth/2fauth
|
||||
container_name: 2fauth
|
||||
volumes:
|
||||
- /srv/appdata/2fauth:/2fauth
|
||||
ports:
|
||||
- 8000:8000/tcp
|
||||
environment:
|
||||
# You can change the name of the app
|
||||
- APP_NAME=2FAuth
|
||||
- APP_ENV=local
|
||||
- APP_DEBUG=false
|
||||
- SITE_OWNER=mail@example.com
|
||||
- APP_KEY=SomeRandomStringOf32CharsExactly #32 caractères
|
||||
# This variable must match your installation's external address.
|
||||
# Webauthn won't work otherwise.
|
||||
- APP_URL=http://localhost
|
||||
- IS_DEMO_APP=false
|
||||
- LOG_CHANNEL=daily
|
||||
- LOG_LEVEL=notice
|
||||
- DB_DATABASE="/srv/database/database.sqlite"
|
||||
- CACHE_DRIVER=file
|
||||
- SESSION_DRIVER=file
|
||||
# - MAIL_DRIVER=log
|
||||
# - MAIL_HOST=smtp.mailtrap.io
|
||||
# - MAIL_PORT=2525
|
||||
# - MAIL_USERNAME=null
|
||||
# - MAIL_PASSWORD=null
|
||||
# - MAIL_ENCRYPTION=null
|
||||
# - MAIL_FROM_NAME=null
|
||||
# - MAIL_FROM_ADDRESS=null
|
||||
- MAIL_VERIFY_SSL_PEER=true
|
||||
- THROTTLE_API=60
|
||||
- LOGIN_THROTTLE=5
|
||||
- AUTHENTICATION_GUARD=web-guard
|
||||
- AUTH_PROXY_HEADER_FOR_USER=null
|
||||
- AUTH_PROXY_HEADER_FOR_EMAIL=null
|
||||
- PROXY_LOGOUT_URL=null
|
||||
- WEBAUTHN_NAME=2FAuth
|
||||
- WEBAUTHN_ID=null
|
||||
- WEBAUTHN_ICON=null
|
||||
- WEBAUTHN_USER_VERIFICATION=preferred
|
||||
- TRUSTED_PROXIES=null
|
||||
- PROXY_FOR_OUTGOING_REQUESTS=null
|
||||
- BROADCAST_DRIVER=log
|
||||
- QUEUE_DRIVER=sync
|
||||
- SESSION_LIFETIME=120
|
||||
- REDIS_HOST=127.0.0.1
|
||||
- REDIS_PASSWORD=null
|
||||
- REDIS_PORT=6379
|
||||
- PUSHER_APP_ID=
|
||||
- PUSHER_APP_KEY=
|
||||
- PUSHER_APP_SECRET=
|
||||
- PUSHER_APP_CLUSTER=mt1
|
||||
- VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||
- VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||
- MIX_ENV=local
|
BIN
Securite/2fauth/img/logo-2FAuth.png
Normal file
BIN
Securite/2fauth/img/logo-2FAuth.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
2
Securite/2fauth/prepare.sh
Normal file
2
Securite/2fauth/prepare.sh
Normal file
@ -0,0 +1,2 @@
|
||||
chown 1000:1000 2fauth
|
||||
chmod 700 2fauth
|
3
Securite/AnonFiles/LICENSE
Normal file
3
Securite/AnonFiles/LICENSE
Normal file
@ -0,0 +1,3 @@
|
||||
Additional permission under GNU GPL version 3 section 7
|
||||
|
||||
If you modify this Program, or any covered work, by linking or combining it with [name of library] (or a modified version of that library), containing parts covered by the terms of [name of library's license], the licensors of this Program grant you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of [name of library] used as well as that of the covered work.
|
31
Securite/AnonFiles/README.md
Normal file
31
Securite/AnonFiles/README.md
Normal file
@ -0,0 +1,31 @@
|
||||

|
||||
|
||||
# AAAAA
|
||||
|
||||
|
||||
# Installation
|
||||
|
||||
Pour utiliser AAAAA tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser AAAAA avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
Pour utiliser AAAAA avec Nginx
|
||||
```bash
|
||||
docker compose -f docker-compose-nginx.yml up -d
|
||||
```
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
|
||||
# More info
|
||||
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
|
||||
|
||||
# Buy me a coffe
|
||||
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
Reference in New Issue
Block a user