Dockerfile to provide a ready to use SPIP in production.
This docker use SPIP-cli project to manage an auto install for SPIP. It can be use to manage the SPIP with command line.
4.3
,4.3.5
,latest
(use PHP 8.3)4.2
,4.2.16
(use PHP 8.3)4.1
,4.1.18
(use PHP 8.1)
WARNING: if your backend is broken after upgrade you must remove image and files cache :
To clear cache remove tmp/cache
and local/cache-*
folders
Automated builds of the image are available on Dockerhub and is the recommanded method of installation.
docker pull ipeos/spip:latest
docker run --name some-spip --link some-mysql:mysql -p 8080:80 -d ipeos/spip
SPIP_AUTO_INSTALL
: auto install spip database1
or0
(default:1
)SPIP_DB_SERVER
: connexion method to the databasesqlite3
ormysql
(default:mysql
)SPIP_DB_PREFIX
: SQL table preffix (default:spip
)
The MySQL database must exist before installation. It will not be automatically created.
SPIP_DB_HOST
: MySQL server hostname or IP (default:mysql
)SPIP_DB_LOGIN
: MySQL user login (default:spip
)SPIP_DB_PASS
: MySQL user password (default:spip
)SPIP_DB_NAME
: MySQL database name (default:spip
)
SPIP_ADMIN_NAME
: account name (default:Admin
)SPIP_ADMIN_LOGIN
: account login (default:admin
)SPIP_ADMIN_EMAIL
: account email (default:admin@spip
)SPIP_ADMIN_PASS
: account password (default:adminadmin
)
SPIP_SITE_ADDRESS
: website address (default:http://localhost
)
Can change PHP vars to optimize your installation.
PHP_MAX_EXECUTION_TIME
(default:60
)PHP_MEMORY_LIMIT
(default:256M
)PHP_POST_MAX_SIZE
(default:40M
)PHP_UPLOAD_MAX_FILESIZE
(default32M
)PHP_TIMEZONE
(default:America/Guadeloupe
)
This image was created by IPEOS for a purpose of web development training courses.
If you find this image useful here's how you can help:
- Send a Pull Request with your awesome enhancements and bug fixes
- Be a part of the community and help resolve Issues