These files is a base structure for ProcessWire projects using Docker.
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.
Use these credentials in ProcessWire configuration.
- user:
docker - password :
docker - database :
docker - host :
172.23.0.3(You could also use just mariadb as the value for the ip, docker will handle that) - 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.
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