Skip to content

A simple PHP and OpenLDAP application environment (PHP7.3 + Apache2.4 + MariaDB10.4 + MailCatcher + Adminer + OpenLDAP + phpLDAPadmin)

Notifications You must be signed in to change notification settings

ko31/lamp-ldap-dev-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAMP+OpenLDAP Dev Docker

This is simple PHP and OpenLDAP application environment with Docker and Docker Compose.

  • PHP: 7.3
  • Apache: 2.4
  • MariaDB: 10.4
  • OpenLDAP: latest
  • Tools
    • MailCatcher
    • Adminer
    • phpLDAPadmin

Getting Started

  1. git clone https://github.com/ko31/lamp-dev-docker.git <my-project-name>
  2. cd <my-project-name>
  3. docker-compose up -d
  4. Visit website in your browser http://localhost:8000

Usage

Create containers.

docker-compose up -d

Start containers.

docker-compose start

Stop containers.

docker-compose stop

Shutdown containers.

docker-compose down

Shutdown and cleanup containers.

docker-compose down -v

Tools

MailCatcher

http://localhost:1080

Adminer

http://localhost:8080

phpLDAPadmin

http://localhost:8888

By default, the Login DN is cn=admin,dc=example,dc=com and the Password is password.

Shell commands

SSH into PHP container.

./bin/shell.sh

Backup database dump to backup.sql.

./bin/backup_db.sh

Restore database dump from backup.sql.

./bin/restore_db.sh

About

A simple PHP and OpenLDAP application environment (PHP7.3 + Apache2.4 + MariaDB10.4 + MailCatcher + Adminer + OpenLDAP + phpLDAPadmin)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published