2020-02-29 07:43:59 +07:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Contributing
|
|
|
|
nav_order: 7
|
|
|
|
has_children: true
|
|
|
|
---
|
|
|
|
|
2020-03-27 06:43:10 +07:00
|
|
|
# Contributing
|
|
|
|
|
|
|
|
## Development workflow
|
|
|
|
|
|
|
|
**Authelia** and its development workflow can be tested with Docker and docker-compose on Linux.
|
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
In order to deploy the current version of Authelia locally, run the following command and follow the instructions of
|
|
|
|
bootstrap.sh:
|
2020-03-27 06:43:10 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ source bootstrap.sh
|
|
|
|
```
|
2020-03-27 06:43:10 +07:00
|
|
|
|
|
|
|
Then, start the *Standalone* [suite].
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ authelia-scripts suites setup Standalone
|
|
|
|
```
|
2020-03-27 06:43:10 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
A [suite] is kind of a virtual environment for running Authelia in a complete ecosystem. If you want more details please
|
|
|
|
read the related [documentation](./suites.md).
|
2020-03-27 06:43:10 +07:00
|
|
|
|
|
|
|
## FAQ
|
|
|
|
|
|
|
|
### What version of Docker and docker-compose should I use?
|
|
|
|
|
|
|
|
Here are the versions used for testing in Buildkite:
|
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ docker --version
|
2021-09-29 14:24:21 +07:00
|
|
|
Docker version 20.10.8, build 3967b7d
|
2020-03-27 06:43:10 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
$ docker-compose --version
|
2021-09-29 14:24:21 +07:00
|
|
|
docker-compose version 1.28.0, build unknown
|
2021-04-11 18:25:03 +07:00
|
|
|
```
|
2020-03-27 06:43:10 +07:00
|
|
|
|
|
|
|
### How can I serve my application under example.com?
|
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
Don't worry, you don't need to own the domain *example.com* to test Authelia. Copy the following lines in
|
|
|
|
your `/etc/hosts`.
|
|
|
|
|
|
|
|
```
|
|
|
|
192.168.240.100 home.example.com
|
|
|
|
192.168.240.100 login.example.com
|
|
|
|
192.168.240.100 singlefactor.example.com
|
|
|
|
192.168.240.100 public.example.com
|
|
|
|
192.168.240.100 secure.example.com
|
|
|
|
192.168.240.100 mail.example.com
|
|
|
|
192.168.240.100 mx1.mail.example.com
|
|
|
|
```
|
|
|
|
|
|
|
|
`192.168.240.100` is the IP attributed by Docker to the reverse proxy. Once added you can access the listed sub-domains
|
|
|
|
from your browser, and they will target the reverse proxy.
|
2020-03-27 06:43:10 +07:00
|
|
|
|
2020-11-24 08:47:12 +07:00
|
|
|
[suite]: ./suites.md
|