If you want you can run web for local development in docker.
- install docker
- optional - if you want https. Generate keys to docker-data/nginx/ssl/bikesharing.loc.crt and bikesharing.loc.key. Uncomment lines in docker-data/nginx/nginx.conf and docker-compose.yml
- run
docker compose up -d - go to
http://localhost:8100, phpmyadmin is on urlhttp://localhost:81, mysql serverdb, mysql userroot, mysql passwordpassword, mysql databasebikesharing
To avoid port conflicts with other services, you can override host ports via environment variables:
DB_PORT=3308 WEB_PORT=8200 docker compose up -dAvailable port variables: NGINX_PORT (default 80), DB_PORT (default 3306), WEB_PORT (default 8100), PMA_PORT (default 81).