Sign inSign up

productionbuild/contao

By productionbuild

•Updated over 7 years ago

Easy installation of Contao CMS for development and testing purposes.

Image
0

1.6K

productionbuild/contao repository overview

  • 4.4 (only version currently supported)
  • lts (for 4.4.* LTS version)

⁠Usage with docker compose

Make sure to provide a MySQL or MariaDB instance for example using docker compose:

version: '3.1'

services:
  contao:
    image: productionbuild/contao
    ports:
      - 80:80
    networks:
      - default
  database:
    image: mariadb
    ports:
      - 3306:3306
    environment:
      MYSQL_ROOT_PASSWORD: example
    networks:
      - default

networks:
  default:

⁠Installation and configuration

  • Use example docker-compose.yml from above
  • Deploy stack: docker stack deploy -c docker-compose.yml contao
  • Connect to database on localhost:3306 and create a database for Contao
  • Go to http://localhost/contao/install⁠
  • Use database hostname database (as defined in docker-compose.yml)
  • Complete installation

⁠Persistence and further usage

For more information on how to use this image see also this blog post⁠.

Tag summary

Content type

Image

Digest

Size

347.4 MB

Last updated

over 7 years ago

docker pull productionbuild/contao