Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

phpMyFAQ/docker-hub

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-hub

This image uses the multi-stage feature from docker. It's the one available on docker hub.

Args

Available arguments to build a new image:

PMF_BRANCH: Specifie the Github branch to include in the release (default: 3.0)

#How to use

To build an image containing the current code in the specified branch:

# Example with the 3.0 branch
git clone https://github.com/phpMyFAQ/docker-hub.git && cd docker-hub
git checkout 3.0
docker build -t phpmyfaq .

To build a specific tag of the PMF repo:

# Example with the 3.0.0-alpha.2 tag
git clone https://github.com/phpMyFAQ/docker-hub.git && cd docker-hub
git checkout 3.0
docker build -t phpmyfaq:3.0.0-alpha.2 --build-arg PMF_BRANCH=3.0.0-alpha.2 .

To run

Use docker compose:

docker-compose up

The command above starts 4 containers as following.

Running using volumes:

  • mariadb: image with xtrabackup support
  • elasticsearch: Open Source Software image (it means it does not have XPack installed)
  • phpmyadmin: a PHP tool to have a look on your database.

Running apache web server with PHP support:

  • phpmyfaq: mounts the ressources folders in ./volumes.

Then services will be available at following addresses:

About

This repo holds Dockerfiles used to build PMF Docker Hub images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.