mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 14:08:07 +08:00
* This release includes new features:
* WordPress expects an existing database to be configured with.
* The following plugins have been added:
- akismet
- all-in-one-wp-migration
- all-in-one-seo-pack
- google-analytics-for-wordpress
- jetpack
- simple-tags
- wordpress-mu-domain-mapping
37 lines
847 B
YAML
37 lines
847 B
YAML
version: '2'
|
|
services:
|
|
mariadb:
|
|
image: 'bitnami/mariadb:latest'
|
|
volumes:
|
|
- 'mariadb_data:/bitnami/mariadb'
|
|
environment:
|
|
- MARIADB_USER=bn_wordpress
|
|
- MARIADB_DATABASE=bitnami_wordpress
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
wordpress:
|
|
image: 'bitnami/wordpress:latest'
|
|
ports:
|
|
- '80:80'
|
|
- '443:443'
|
|
volumes:
|
|
- 'wordpress_data:/bitnami/wordpress'
|
|
- 'apache_data:/bitnami/apache'
|
|
- 'php_data:/bitnami/php'
|
|
depends_on:
|
|
- mariadb
|
|
environment:
|
|
- MARIADB_HOST=mariadb
|
|
- MARIADB_PORT=3306
|
|
- WORDPRESS_DATABASE_USER=bn_wordpress
|
|
- WORDPRESS_DATABASE_NAME=bitnami_wordpress
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
volumes:
|
|
mariadb_data:
|
|
driver: local
|
|
wordpress_data:
|
|
driver: local
|
|
apache_data:
|
|
driver: local
|
|
php_data:
|
|
driver: local
|