Skip to content

ipeos-and-co/docker-spip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker SPIP

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.

Supported Tags Respective Dockerfile Links

  • 4.4, 4.4.16, latest (use PHP 8.4)

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

End of Life — Dropped Image Support

The following images are no longer maintained and will not receive any further updates:

Image Last version Reason
4.3, 4.3.9 PHP 8.3 SPIP 4.3 no longer receives security updates
4.2, 4.2.17 PHP 8.3 SPIP 4.2 no longer receives security updates
4.1, 4.1.20 PHP 8.1 SPIP 4.1 no longer receives security updates

SPIP only maintains the latest version of each major branch. Versions 4.1, 4.2 and 4.3 have reached end-of-life and may contain unpatched security vulnerabilities. Please upgrade to SPIP 4.4.

See the official SPIP maintenance policy for details.

Installation

Automated builds of the image are available on Dockerhub and is the recommanded method of installation.

docker pull ipeos/spip:latest

Quick Start

docker run --name some-spip --link some-mysql:mysql -p 8080:80 -d ipeos/spip

Available Environment Vars

  • SPIP_AUTO_INSTALL: auto install spip database 1 or 0 (default: 1)
  • SPIP_DB_SERVER: connexion method to the database sqlite3 or mysql (default: mysql)
  • SPIP_DB_PREFIX: SQL table prefix (default: spip)

For MySQL Database Only

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)

Admin Account

  • 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 Configuration

  • SPIP_SITE_ADDRESS: website address (default: http://localhost)

PHP Vars

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 (default 32M)
  • PHP_TIMEZONE (default: America/Guadeloupe)

Contributing

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

Team

IPEOS

Contributors / Maintainers

About

Dockerfile permettant de mettre en production un SPIP

Resources

License

Stars

8 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors