Skip to content

Geerodge/processwire-starter-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for ProcessWire

Running all the required php extensions for ProcessWire and also the following:

  • PHP 7.4-fpm
  • NGINX
  • ImageMagick

Installation

Clone the ProcessWire repository.

git clone https://github.com/processwire/processwire.git app/public

Now run docker compose command and you are good to go.

docker-compose up

The docker container where ProcessWire is installed can be accessed via 127.0.0.1, visit this I.P. in your browser to start the ProcessWire installation.

Information about the mysql connection can be found in docker-compose.yml.

I run this all in vscode with the Docker Remote extension. View all my extensions here.

Important Notes - Do Not Skip

  • When starting the docker container for the first time the mysql settings (database name, user, pass) from docker-compose.yml will be loaded and are annoyingly persistent. Remember to use the command "docker-compose down -v" in terminal, even after closing in vscode when changing these and not being able to connect.

  • When connecting to database from within the container, do not use localhost or 127.0.0.1. Use mysql (the service name), especially useful on the /install.php script for processwire.

About

Starter for ProcessWire with PHP 7.4-fpm and NGINX

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published