Authelia - Open-source authentication and authorization server
Everything you need to deploy Authelia with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Authelia up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Authelia with:
blastdock init authelia
Interactive mode:
blastdock init authelia -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Authelia installation with these configuration options.
Web interface port
MySQL password
JWT secret
Session secret
Domain name
Complete Docker Compose configuration for Authelia deployment.
version: '3.8'
services:
mysql:
image: mysql:8
container_name: {{ project_name }}_mysql
restart: unless-stopped
environment:
0: MYSQL_ROOT_PASSWORD={{ mysql_password }}
1: MYSQL_DATABASE=authelia
2: MYSQL_USER=authelia
3: MYSQL_PASSWORD={{ mysql_password }}
volumes:
- /var/lib/mysql
networks:
- authelia_network
redis:
image: redis:6
container_name: {{ project_name }}_redis
restart: unless-stopped
networks:
- authelia_network
authelia:
image: authelia/authelia:latest
container_name: {{ project_name }}_authelia
restart: unless-stopped
depends_on:
- mysql
- redis
ports:
- "9091"
environment:
0: TZ=Europe/London
1: AUTHELIA_JWT_SECRET={{ jwt_secret }}
2: AUTHELIA_SESSION_SECRET={{ session_secret }}
3: AUTHELIA_STORAGE_MYSQL_HOST=mysql
4: AUTHELIA_STORAGE_MYSQL_PORT=3306
5: AUTHELIA_STORAGE_MYSQL_DATABASE=authelia
6: AUTHELIA_STORAGE_MYSQL_USERNAME=authelia
7: AUTHELIA_STORAGE_MYSQL_PASSWORD={{ mysql_password }}
8: AUTHELIA_SESSION_REDIS_HOST=redis
9: AUTHELIA_SESSION_REDIS_PORT=6379
- AUTHELIA_DEFAULT_REDIRECTION_URL=https: //{{ domain }}
volumes:
- /config
networks:
- authelia_network
volumes:
mysql_data:
driver: local
authelia_config:
driver: local
networks:
authelia_network:
driver: bridge