Ensure database dump path inside docker-compose.yml points to the newest dump
Change database connection inside registration-system/config.local.php from "localhost" to "db"
Build and start up the containers
docker-compose build
docker-compose up -d
Wait for containers to start up.
Run a bash inside the web container (docker exec -it registrationsystem_web_1 bash
) and
cd usr/share/nginx/html/
echo -n 2 > config_current_fahrt_id
chmod 777 config_current_fahrt_id
cp passwd/users.example.txt passwd/users.txt
Open http://localhost:8080 in your browser
Admin interface is at http://localhost:8080/admin (login with sudo:password)
For phpMyAdmin find the IP it runs on (docker inspect registrationsystem_phpmyadmin_1
and find IPAddress) and open
http://:8090
Remove containers as in cleanup, remove mysql_dump folder and start again
Run:
docker-compose stop
docker-compose rm
Then remove mysql_data folder