Sign inSign up

andriihlukhanyk/lampp

By andriihlukhanyk

•Updated almost 3 years ago

LAMPP (Linux/Apache/MySQL/PHP/PostgreSQL)

Image
Web servers
1

1.9K

andriihlukhanyk/lampp repository overview

⁠LAMPP (Linux/Apache/MySQL/PHP/PostgreSQL)

⁠Example of docker-compose.yml:
version: '3.7'

services:
  lampp:
    image: andriihlukhanyk/lampp:latest
    restart: always
    ports:
      # Port exposed : Apache port running inside container
      - '80:80'
      # Port exposed : MySQL port running inside container
      - '3306:3306'
      # Port exposed : PostgreSQL port running inside container
      - '5432:5432'
      # Port exposed : Redis Server port running inside container
      - '6379:6379'
      # Port exposed : Xdebug port running inside container
      - '9000:9000'
      # Port exposed : Memcached port running inside container
      - '11211:11211'
    expose:
      # Opens ports on the container
      - '80'
      - '3306'
      - '5432'
      - '6379'
      - '9000'
      - '11211'
    volumes:
      # Where our data will be persisted (web project)
      - .:/app
      # Where MySQL data will be persisted (permanently stored in project folder)
      - ./mysql:/var/lib/mysql
      # Where PostgreSQL data will be persisted (permanently stored in project folder)
      - ./postgresql:/var/lib/postgresql
      # Where users/passwords for MySQL/PostgreSQL and Redis Server will be persisted in plain text (permanently stored in project folder)
      - ./passwords:/passwords

⁠Versions:
  • Ubuntu 22.04.3 LTS
  • Apache 2.4.57
  • PHP 8.2.10
  • Zend Engine 4.2.10
  • Zend OPcache 8.2.10
  • Xdebug 3.2.1
  • MySQL 8.0.34
  • PostgreSQL 15.4
  • Memcached 1.6.14
  • phpMyAdmin 5.1.1
  • phpPgAdmin 7.13.0
  • Redis Server 6.0.16
  • chromium-browser 85.0.4183.83
  • git 2.34.1
  • CURL 7.81.0
  • OpenSSL 3.0.2
  • cron 3.0
  • mcrypt 1.0.6
  • zlib 1.2.11
  • brotli 1.0.9
  • php8.2-ssh2 1.4
  • zstd 1.4.8
  • libidn 2.3.2
  • libpsl 0.21.0
  • librtmp 2.4
⁠Exposed ports:
  • 80: Apache2
  • 3306: MySQL
  • 5432: PostgreSQL
  • 6379: Redis Server
  • 9000: Xdebug
  • 11211: Memcached

Tag summary

Content type

Image

Digest

sha256:bd884b285…

Size

504.5 MB

Last updated

almost 3 years ago

docker pull andriihlukhanyk/lampp