Skip to content

FriendsOfREDAXO/docker-demos

Repository files navigation

Publish

Docker website demo images for REDAXO

A collection of website demos for REDAXO CMS, developed and maintained by Friends Of REDAXO.

Screenshot

Images are published both on Docker Hub and on GitHub Container Registry, so you can choose between:

  • friendsofredaxo/demo
  • ghcr.io/friendsofredaxo/demo

Supported tags

  • base
    This demo aims to primarily help beginners, and it demonstrates just one way how to develop a website with REDAXO.
    FriendsOfREDAXO/demo_base/
  • onepage
    This demo demonstrates 3 ways how to build a onepage website: with modules, with articles, with categories. (German)
    FriendsOfREDAXO/demo_onepage/
  • community
    In this demo you can see how to use the community addOn to create a website where users can register and login to protected areas. (German)
    FriendsOfREDAXO/demo_community/
  • fullpage
    Makes use of the fullPage.js script to demonstrate a onepage website. (German)
    FriendsOfREDAXO/demo_fullpage/

Environment variables

👉 Environment variables correspond 1:1 to those of the REDAXO image. Find a complete list here:
FriendsOfREDAXO/docker-redaxo/#environment-variables

Usage

👉 Note that the demos are used 1:1 like the REDAXO image, except that you chose a different source: For the code examples we use friendsofredaxo/demo:base, which is the base demo.

Example for REDAXO base demo container with MariaDB container:

version: '3'
services:

  redaxo:
    image: friendsofredaxo/demo:base
    ports:
      - 80:80
    volumes:
      - redaxo:/var/www/html
    environment:
      REDAXO_SERVER: http://localhost
      REDAXO_SERVERNAME: 'My Website'
      REDAXO_ERROR_EMAIL: john@doe.example
      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:

Recipes

🧁 See recipes section for further examples!

Need help?

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/