container-library/processwire
2
0
Fork
You've already forked processwire
0
Container image for the ProcessWire CMS, based on our PHP image. https://processwire.com
  • Shell 50.2%
  • PHP 48.7%
  • Dockerfile 1.1%
2021年07月01日 22:22:36 +02:00
.dockerignore Migrate to PHP image from Codeberg container library 2021年05月04日 18:23:28 +02:00
.gitignore Release first working version 2021年04月17日 15:18:14 +02:00
Dockerfile Adjust for the change from horust to supervisord 2021年07月01日 22:22:36 +02:00
init.sh Adjust for the change from horust to supervisord 2021年07月01日 22:22:36 +02:00
install.php Migrate to PHP image from Codeberg container library 2021年05月04日 18:23:28 +02:00
README.md Adjust for the change from horust to supervisord 2021年07月01日 22:22:36 +02:00

ProcessWire Container Image

A friendly and powerful open source CMS with an API that is a joy to use at any scale. (https://processwire.com/)

Container image for the ProcessWire CMS, based on our PHP image. Depends on MySQL/MariaDB.

Recreating the container (docker-compose up -d --force-recreate) will always update the ProcessWire Core to the latest stable version.

Use it for your site with Docker Compose

Try the supplied docker-compose.yml file below to get started as quickly as possible - just run docker-compose up -d.

After starting the containers, you can reach the website at http://localhost:8080 and the admin interface at http://localhost:8080/processwire/.

version:"3.8"services:processwire:image:codeberg.org/container-library/processwireports:[8080:80]hostname:wwwdomainname:example.orgvolumes:- "./site:/var/www/html/site"environment:superuser_password:helloworld123#processwire_debug: "true"database:image:mariadbenvironment:MYSQL_ALLOW_EMPTY_PASSWORD:"true"

Volumes

/var/www/html/site

All the data required for your ProcessWire site.

Environment Variables

site_profile

Use a preset profile when creating a new site: site-beginner, site-blank, site-classic, site-default, site-languages or site-regular

superuser_username, superuser_password & superuser_email

This sets the default superuser's credentials, defaulting to the username superuser with the email address superuser@example.email. superuser_password is required when creating a new site.

processwire_httpHosts

Defaults to the container's FQDN hostname, but can be overwritten to allow further domains.

Note that this option is an array, so you have to use e.g. processwire_httpHosts=[example.org www.example.org].

processwire_db* and MYSQL_*

Database configuration variables:

  • processwire_dbHost: MySQL/MariaDB host, default: database (alias: MYSQL_HOST)
  • processwire_dbPort: MySQL/MariaDB port, default: 3306 (alias: MYSQL_PORT)
  • processwire_dbName: MySQL/MariaDB database, default: processwire (alias: MYSQL_DATABASE)
  • processwire_dbUser: MySQL/MariaDB user, default: root (alias: MYSQL_USER)
  • processwire_dbPass: MySQL/MariaDB password, default: empty (alias: MYSQL_PASSWORD)
  • processwire_dbCharset: utf8 or utf8mb4 (default)
  • processwire_dbEngine: MyISAM or InnoDB (default)

processwire_*

Set arbitrary ProcessWire configuration options like processwire_debug=true. You can find the full list of options in the ProcessWire documentation.

You can use true or false for boolean values, [string1 string2 ...] for arrays, or other values for strings. For numbers or other PHP values, use <? yourCodeHere, for example processwire_fatalErrorCode=<? 503.

php_*

Set arbitrary php.ini options like php_sendmail_from=noreply@example.org. More information on email and timezone setup can be found in the php image.