- Nginx
- PHP 7.2-fpm
- MySQL - MariaDB
- Maildev - Mailhog
- Install and launch Docker
cp .env.dist .envdocker-compose up- Copy Flazy working files in /public
- Install the CMS
| Service | Path |
|---|---|
| Website | http://localhost:8080 |
| Mail catcher | http://localhost:8081 |
| Logs | log/ |
- On your machine, run
$ sudo nano /etc/hostsand add127.0.0.1 myhost.local - Change the server name in
docker/nginx/nginx.conf#L3tomyhost.local - Modify
.envand setSERVER_PORT=80 - Run
$ docker-compose up - If it fails make sure no service like Apache is running on port 80
If you change mysql credentials in .env you have to re-create mysql container:
- Database will be deleted, make a backup
- Remove container and volume :
$ docker-compose rm -fv mysql - Run :
docker-compose up