Sign inSign up

fehrenbacher/concrete-cms

By fehrenbacher

•Updated 12 months ago

Concrete CMS (formerly concrete5)

Image
1

1.4K

fehrenbacher/concrete-cms repository overview

Dockerized version of Concrete CMS. Find out more about Concrete CMS at https://www.concretecms.com/⁠

Based on PHP 8.1.x (Apache).

⁠Simple example with docker-compose and maria db

version: '2.4'
services:
  concretecms:
    image: fehrenbacher/concrete-cms:latest
    restart: always
    ports:
      - "80:80"
    depends_on:
      - concretecms_db
    container_name: concretecms

  concretecms_db:
    image: mariadb:latest
    environment:
      MYSQL_DATABASE: mycmsdatabase
      MYSQL_USER: dbuser_cms
      MYSQL_PASSWORD: MySecr3tPa55w0rd
      MYSQL_ROOT_PASSWORD: MyS3cr3tR00tPa55w0rd
      TZ: "Europe/Berlin"
    container_name: concretecms_db

Save in file docker-compose.yml and run with "docker-compose up -d".

Timezone database: Default is UTC if not available. If timezone is set, you have to select the same timezone while installing C5 (Open p "Advanced Options" below database credentials).

⁠Mount volumes

version: '2.4'
services:
  concretecms:
    ...
    volumes:
      - /path/to/my/concretecms/blocks:/srv/app/public/application/blocks
      - /path/to/my/concretecms/packages:/srv/app/public/packages
      - /path/to/my/concretecms/configuration:/srv/app/public/application/config
      - /path/to/my/concretecms/files:/srv/app/public/application/files
    ...

If you need a custom ini file (e.g. for "upload_max_filesize = 32M"), then you can mount a single file into the local ini folder.

      - /path/to/my/custom/ini/file/my.ini:/usr/local/etc/php/conf.d/my.ini

⁠Dockerfile

Find latest Dockerfile on Github:

https://github.com/Tomcat128/dockerized-concrete5⁠

Tag summary

Content type

Image

Digest

sha256:333731da4…

Size

716.7 MB

Last updated

12 months ago

docker pull fehrenbacher/concrete-cms