The Docker Compose projects enable Backroll to be available in several modes :
- for developpement :
dev
:- no configuration (default values)
- uses the Docker Compose network
staging
:- you will go through the configuration steps
- uses your local network
- for production :
prod
In the compose_project/ directory, the script source-me.sh helps you to configure and run Backroll :
-
ensure that you are in the
compose_project/
directory :cd compose_project
-
source the script
source-me.sh
:- only get argument variables :
source source-me.sh
- get argument variables and setup
dev
:source source-me.sh setup-dev
- get argument variables and setup
staging
:source source-me.sh setup-staging
- get argument variables and setup
prod
:source source-me.sh setup-prod
- only get argument variables :
-
use
docker compose
with an argument variable :- dev version :
docker compose $dev [options] [COMMAND] [ARGS...]
- staging version :
docker compose $staging [options] [COMMAND] [ARGS...]
- prod version :
docker compose $prod [options] [COMMAND] [ARGS...]
- dev version :
Remember to always be in the compose_project/
directory and to source source-me.sh
in your terminal.
cd compose_project
source source-me.sh setup-dev
docker compose $dev up
cd compose_project
source source-me.sh setup-staging
docker compose $staging up
cd compose_project
source source-me.sh setup-prod
docker compose $prod up
The user interface is made up of several components :
- the Backroll front
- the Flower web application to monitor and manage the Celery tasks
- the Keycloak SSO admin console
To access the various containers’ web interfaces, your internet browser needs to get into the compose project network.
Create a proxy server by connecting to the proxy container:
ssh -p 2222 -D 1080 developer@localhost
The password is developer
. You must ensure that the command is running each time you start working on Backroll.
If you are working remotely, do not forget to forward the port 2222.
Keep in mind that the port 2222 may be already in use. Run the docker port
command on the proxy container to find the exposed port.
Now you need to configure your web browser to use the SOCKS v5 proxy at address localhost
port 1080
and to use the proxy DNS. Feel free to use another port if it is more convenient for you.
For Firefox, see Connection settings in Firefox :
- choose “Manual proxy configuration”
- fill in “SOCKS Host” and “Port”
- choose “SOCKS v5”
- check “Proxy DNS when using SOCKS v5”
Backroll :
- URL : http://front:8080/admin/dashboard
- username : developer
- password : developer
Keycloak :
- URL : http://sso:8080/admin/master/console/#/backroll
- username : admin
- password : admin
Flower :
You can acces to the user interfaces on localhost :
- Backroll :
- Flower http://localhost:5555/
- Keycloak http://localhost:8081/admin/master/console/#/backroll