scsole / quickreg

Quickly collect event registrations using a Docker LEMP stack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuickREG

A simple solution to quickly collect registrations for an event.

Quick start

You must have a working installation of docker and docker-compose.

  1. Clone and cd into this repo
  2. Run docker-compose --env-file .env.example up -d
  3. Browse to localhost for the public web interface
  4. Browse to localhost:8080 for the phpMyAdmin console. The default root password is root.

Images used

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

Usage

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

Useful commands

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.

About

Quickly collect event registrations using a Docker LEMP stack.


Languages

Language:PHP 85.7%Language:HTML 11.9%Language:Shell 1.8%Language:Dockerfile 0.6%