Just a repository to play with docker and Traefik from an (old) existing project
-
Edit database configuration
cp db.env.example db.env vim db.env
-
Edit application configuration according to your database configuration
cp conf/config.inc.php.example conf/config.inc.php vim conf/config.inc.php
-
Run it
docker-compose -f dev.yml up -d
The site is now available at http://localhost:8080
-
Restart
docker-compose -f dev.yml restart
-
Stop containers
docker-compose -f dev.yml stop
-
Remove containers
docker-compose -f dev.yml down
-
See logs
docker logs betisier_php docker logs betisier_db
Add
-f
at the end of the command to see live changes
See the Wiki for additional information.