Everything you need to build websites for sharing and interacting with your community.
2.1K
(Info at https://b2evolution.net)
This is just an example how to run a development site with docker-compose: There is a self signed example.com certificate included.
If you set the hostname to your domain you have to provide your own certificate
Example docker-compose.yml
version: '3.5'
# NGINX and PHP-FPM; includes b2evolution files
services:
b2evolution:
image: z8bulon/b2evolution:latest # or z8bulon/b2evolution:7.2.5-tw
hostname: 'example.com'
ports:
- '80:80'
- '443:443'
restart: unless-stopped
environment:
TZ: UTC
PHP.date.timezone: Europe/Amsterdam
PHP.zlib.output_compression_level: 4
PHP.max_input_time: 60
PHP.memory_limit: 384M
PHP.upload_max_filesize: 32M
PHP.post_max_size: 48M
PHP.max_file_uploads: 20
WWW.pm: dynamic
WWW.pm.max_children: 10
WWW.pm.start_servers: 3
WWW.pm.max_spare_servers: 5
WWW.pm.process_idle_timeout: 60s
WWW.pm.max_requests: 200
volumes:
- b2evo-config:/srv/www/htdocs/b2evolution/conf/config-link-dir
- b2evo-mediadir:/srv/www/htdocs/b2evolution/media
- b2evo-backup:/srv/www/htdocs/b2evolution/_backup
# for your own certs uncomment below. Put your certs in ./ssl - name 'server.crt' and 'server.key'.
# - ./ssl:/etc/nginx/ssl
# MariaDB database service (do not use version 10.6.x yet)
mariadb:
image: mariadb:10.5.17
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: 'myrootpassword'
MYSQL_DATABASE: 'b2evolution'
MYSQL_USER: 'demouser'
MYSQL_PASSWORD: 'demopasswd'
volumes:
- b2evolution-db:/var/lib/mysql
# Manage the database with Adminer
adminer:
image: adminer:4.8.1
restart: unless-stopped
ports:
- '8080:8080'
environment:
ADMINER_DEFAULT_SERVER: mariadb
ADMINER_DESIGN: rmsoft_blue
volumes:
b2evo-config: # persistent storage for the '_basic_config.php' file
b2evo-mediadir: # persistent storage of the 'media' directories
b2evo-backup: # persistent storage for backups
b2evolution-db: # persistent storage of the database
For this example you would complete the setup at https://example.com/install Note: If you upgrade b2evolution don't forget to run the installer and run the upgrade. (https://url/install)
Technical details for the opensuse tumbleweed based image:
Work in progress
Content type
Image
Digest
sha256:511444152…
Size
230.7 MB
Last updated
about 4 years ago
docker pull z8bulon/b2evolution