A template to make Concrete CMS run on Lagoon.
This template includes everything you need to get started with Concrete CMS to run on Lagoon. It was referenced official composer base and community docker image but modified to work with Lagoon.
This template includes the following services:
- Concrete CMS 9.3
- PHP 8.3 (FPM)
- Nginx
- MariaDB 10.6
pygmy is required to run this project locally. You can install it using the following command:
brew tap pygmystack/pygmy && brew install pygmy
After installing pygmy, you can start your local environment using the following command:
pygmy up
If you doesn't have the default ssh key (~/.ssh/id_rsa), you can specify the key file using the following command:
pygmy up --key /Users/your_name/.ssh/custom_key
After starting the pygmy, you need to start the docker containers using the following command:
docker compose up -d
If you want to check the status of the local environment, you can use the following command:
pygmy status
If you want to stop the local environment but do not want to remove it, you can use the following command:
pygmy stop
If you want to stop and remove the local environment, you can use the following command:
pygmy clean
To rebuild the local environment, you can use the following command:
docker compose down
docker compose up -d --force-recreate
First, access the cli container using the following command:
docker compose exec cli bash
Then, install Concrete CMS using the following command:
./vendor/bin/concrete c5:install -i
You can use the following information to use in the installation:
Database | Value |
---|---|
Database Server | mariadb |
Database Name | lagoon |
Database User | lagoon |
Database Password | lagoon |