Sign inSign up

willbys/authelia

By willbys

•Updated about 1 year ago

Image
0

164

willbys/authelia repository overview

Official Authelia image with my configuration.

⁠Docker command:

docker pull willbys/authelia:latest

#Structure Example

/opt/authelia

  • docker-compose.yml

config:

    - configuration.yml
    - users_database.yml

⁠Docker Configuration

docker-compose.yml

services: authelia: image: authelia/authelia:latest container_name: authelia restart: unless-stopped networks: proxy: ipv4_address: 172.80.0.10 volumes: - ./config:/config - ./db:/var/lib/authelia ports: - "0.0.0.0:9091:9091" environment: TZ: Europe/Paris

networks: proxy: external: true

⁠Configuration

Create this file /config/configuration.yml and add this

server: address: tcp://0.0.0.0:9091

log: level: info format: text

totp: issuer: example period: 30 skew: 1

authentication_backend: file: path: /config/users_database.yml

access_control: default_policy: two_factor rules: - domain: "host.connectika.fr" policy: two_factor

session: name: authelia_session secret: "YOUR_SESSION_SECRET> expiration: 3600 inactivity: 600

cookies: - domain: example.fr authelia_url: https://authenticator.example.fr⁠ default_redirection_url: https://host.example.fr⁠ same_site: lax

storage: encryption_key: "YOUR_ENCRYPTION_KEY> local: path: /config/db.sqlite3

notifier: smtp: address: submission://smtp.gmail.com:587 username: "[email protected]⁠" password: "yefj pwcq ufpg whax" sender: "Authelia [email protected]⁠" startup_check_address: "[email protected]⁠"

identity_validation: reset_password: jwt_secret: "YOUR_SECRET_JWT"

⁠User Configuration

ADD this file on /config/users_database.yml

users: Administratrator: displayname: admin password: "$argon2id$v=19$m=65536,t=3,p......." # YOUr Key email: [email protected]⁠ groups: - admins

Tag summary

Content type

Image

Digest

sha256:30ed7093c…

Size

24.3 MB

Last updated

about 1 year ago

docker pull willbys/authelia