📦 Docker files for ProcessWire
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
database
docker/processwire
pw
README.md
docker-compose.yaml

README.md

Docker files for ProcessWire

These files is a base structure for ProcessWire projects using Docker.

Setup

For starting the project use

$ docker-compose up -d

A new Apache and MariaDB instance will start.

Configure your ProcessWire files in pw directory. You can copy files from a existing project or install a fresh copy.

Database Credentials (Dev Environment)

Use these credentials in ProcessWire configuration.

  • user: docker
  • password : docker
  • database : docker
  • host : 172.23.0.3
  • port 3306

For accesing db using an external tool like Sequel Pro or HeidiSQL.

  • user: docker
  • password : docker
  • database : docker
  • host : 127.0.0.1
  • port 3306

For changing PHP settings go to docker/processwire/init.sh and then rebuild the containers.

Local host

Once Docker is running you can access ProcessWire by going to localhost in your browser. 127.0.0.1. Is recommended that you edit your hosts file to add a custom domain.

If you want to use another port (default is 80) you must change it in the docker-compose.yaml file.

ports:
    # local port : docker port
    - 80:80

Other Resources