Fail2ban
This commit is contained in:
parent
0c8b41e261
commit
cb469f99c0
|
@ -6,6 +6,8 @@ services:
|
||||||
- "com.centurylinklabs.watchtower.enable=true"
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
environment:
|
environment:
|
||||||
- PORT=24587
|
- PORT=24587
|
||||||
|
- TZ=Europe/Paris
|
||||||
volumes:
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- $DATA/honeypots/ssh-honeypot:/app/data:rw
|
- $DATA/honeypots/ssh-honeypot:/app/data:rw
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
|
|
@ -15,7 +15,7 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.wikijs.rule=Host(`wiki.bhasher.com`)"
|
- "traefik.http.routers.wikijs.rule=Host(`wiki.bhasher.com`)"
|
||||||
- "traefik.http.routers.wikijs.entrypoints=internalsecure"
|
- "traefik.http.routers.wikijs.entrypoints=internalsecure,externalsecure"
|
||||||
- "traefik.http.services.wikijs.loadbalancer.server.port=3000"
|
- "traefik.http.services.wikijs.loadbalancer.server.port=3000"
|
||||||
- "traefik.http.routers.wikijs.tls=true"
|
- "traefik.http.routers.wikijs.tls=true"
|
||||||
- "traefik.http.routers.wikijs.tls.certresolver=http"
|
- "traefik.http.routers.wikijs.tls.certresolver=http"
|
||||||
|
|
|
@ -6,7 +6,9 @@ server:
|
||||||
port: 9091
|
port: 9091
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: info
|
level: warn
|
||||||
|
file_path: /logs/authelia.log
|
||||||
|
#format: json
|
||||||
|
|
||||||
totp:
|
totp:
|
||||||
disable: false
|
disable: false
|
||||||
|
|
|
@ -84,7 +84,8 @@ services:
|
||||||
- 'traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email'
|
- 'traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email'
|
||||||
volumes:
|
volumes:
|
||||||
- $CONFIG/idp/authelia.configuration.yaml:/config/configuration.yml:ro
|
- $CONFIG/idp/authelia.configuration.yaml:/config/configuration.yml:ro
|
||||||
- $DATA/authelia:/secrets:ro
|
- $DATA/authelia/secrets:/secrets:ro
|
||||||
|
- $DATA/authelia/logs:/logs:rw
|
||||||
networks:
|
networks:
|
||||||
- auth
|
- auth
|
||||||
- storage
|
- storage
|
||||||
|
|
|
@ -11,6 +11,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- $DATA/fail2ban:/data
|
- $DATA/fail2ban:/data
|
||||||
- $DATA/vaultwarden:/remotelogs/vaultwarden:ro
|
- $DATA/vaultwarden:/remotelogs/vaultwarden:ro
|
||||||
|
- $DATA/honeypots/ssh-honeypot:/remotelogs/ssh-honeypot:ro
|
||||||
|
- $DATA/authelia/logs:/remotelogs/authelia:ro
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /home/shp/.ssh/mkrouter
|
source: /home/shp/.ssh/mkrouter
|
||||||
target: /ssh-key/mkrouter
|
target: /ssh-key/mkrouter
|
||||||
|
|
Loading…
Reference in New Issue