Dockerization of the environment for Sunlight CMS 8
- Apache/2.4.38 (Debian)
- PHP 8.2
- MariaDB (latest)
- Adminer (latest)
- Composer (latest)
- Download this repository
- Copy the folder
.docker
and its contents to the root directory - Run
cd .docker
- Run
docker-compose build && docker-compose up
or./up.sh
- Run
docker-compose exec local-apache bash
or./bash.sh
- Run
composer install
in bash (root@xxxxxxxxx:/var/www/html# <here>
) - Open http://localhost
- Follow the system instructions
- Website - http://localhost (port:
80
) - Adminer - http://localhost:8080 (port:
8080
)
- Server:
db
- User:
root
- Password:
root
- Database:
created during installation or manually