redaxo
Docker image for REDAXO
50K+
This image for REDAXOβ CMS is developed and maintained by Friends Of REDAXOβ .

It is published both on Docker Hubβ and on GitHub Container Registryβ , so you can choose between:
friendsofredaxo/redaxoghcr.io/friendsofredaxo/redaxoWe provide two image variants:
5-stable, 55-edgeIf youβre not sure, you probably want to go for friendsofredaxo/redaxo:5 π
π€ REDAXO is auto-installed within the container if the web root is empty and all required environment variables are provided.
System settings:
REDAXO_SERVERREDAXO_SERVERNAMEREDAXO_ERROR_EMAILREDAXO_LANGREDAXO_TIMEZONEDatabase settings:
REDAXO_DB_HOSTREDAXO_DB_NAMEREDAXO_DB_LOGINREDAXO_DB_PASSWORDREDAXO_DB_CHARSET: utf8mb4 charset is recommended for full emoji support π but requires at least MySQL 5.7.7 or MariaDB 10.2! Use utf8 with older database systems.Admin user to be created:
REDAXO_ADMIN_USERREDAXO_ADMIN_PASSWORD: must comply with the password policy (requires at least 8 chars)(See examples for docker run and docker-compose below)
Note that we use friendsofredaxo/redaxo:5 for the code examples.
docker runβ Remember that REDAXO requires a MySQLβ or MariaDBβ database. Could be either an external server or another Docker container.
$ docker run \
--name my-redaxo-project \
-d \
-p 80:80 \
-e REDAXO_SERVER='http://localhost' \
-e REDAXO_SERVERNAME='My Website' \
-e REDAXO_ERROR_EMAIL='[email protected]' \
-e REDAXO_LANG='en_gb' \
-e REDAXO_TIMEZONE='Europe/London' \
-e REDAXO_DB_HOST='db' \
-e REDAXO_DB_NAME='redaxo' \
-e REDAXO_DB_LOGIN='redaxo' \
-e REDAXO_DB_PASSWORD='s3cretpasswOrd!' \
-e REDAXO_DB_CHARSET='utf8mb4' \
-e REDAXO_ADMIN_USER='admin' \
-e REDAXO_ADMIN_PASSWORD='PunKisNOT!dead' \
friendsofredaxo/redaxo:5
docker-composeβ Example for REDAXO container with MariaDB container:
services:
redaxo:
image: friendsofredaxo/redaxo:5
ports:
- 80:80
volumes:
- redaxo:/var/www/html
environment:
REDAXO_SERVER: http://localhost
REDAXO_SERVERNAME: 'My Website'
REDAXO_ERROR_EMAIL: [email protected]
REDAXO_LANG: en_gb
REDAXO_TIMEZONE: Europe/London
REDAXO_DB_HOST: db
REDAXO_DB_NAME: redaxo
REDAXO_DB_LOGIN: redaxo
REDAXO_DB_PASSWORD: 's3cretpasswOrd!'
REDAXO_DB_CHARSET: utf8mb4
REDAXO_ADMIN_USER: admin
REDAXO_ADMIN_PASSWORD: 'PunKisNOT!dead'
db:
image: mariadb:10.11
volumes:
- db:/var/lib/mysql
environment:
MYSQL_DATABASE: redaxo
MYSQL_USER: redaxo
MYSQL_PASSWORD: 's3cretpasswOrd!'
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
volumes:
redaxo:
db:
custom-setup.sh script πAfter REDAXO has been successfully installed, a /usr/local/bin/custom-setup.sh script is executed, if it is available. This can be quite useful for pre-installing REDAXO addOns, updating configuration or further customizing the environment.
For example, our website demosβ make use of it to auto-install demo packages via CLI. See custom-setup.shβ of the base demo, copied via Dockerfileβ into the container.
Also, a working recipe: REDAXO + custom setup with pre-installed addonsβ
π§ See recipesβ section for further examples!
If you have questions or need help, feel free to contact us in Slack Chat! You will receive an invitation here: https://redaxo.org/slack/β
Content type
Image
Digest
sha256:e5468abbfβ¦
Size
263.5 MB
Last updated
22 days ago
docker pull friendsofredaxo/redaxo:5-edge