A simple solution to quickly collect registrations for an event.
You must have a working installation of docker
and docker-compose
.
- Clone and
cd
into this repo - Run
docker-compose --env-file .env.example up -d
- Browse to localhost for the public web interface
- Browse to localhost:8080 for the phpMyAdmin
console. The default root password is
root
.
This project is based upon a Docker LEMP stack. As such, the following images are used.
Image | Tag |
---|---|
Nginx | 1.19-alpine |
PHP | 7.4-fpm-alpine |
MySQL | 8.0 |
phpMyAdmin | 5-fpm-alpine |
NOTE: Environment variables are used to configure the containers. An example environment file
.env.example
is included within this repository. This file should be copied to.env
and configured as required (e.g. change default passwords) before starting the project for the first time.
The quickest way to build and start all containers in the background.
docker-compose up -d
View running containers
docker-compose ps
Tail the container's logs
docker-compose logs -f [service]
Stop and/or destroy all containers
docker-compose stop
Stop and/or destroy all containers along with associated volumes
docker-compose down -v
Start a basic shell inside a container
docker-compose exec <service> sh
NOTE: The Alpine Linux based images we use do not come with bash installed.