sha256:5fa9518570f1055387c3c54b56ca335894ba4bd1f1f9666c82ad8d07e9748cdc
Last pushed
about 1 year by lucasbernalte981
Type
Compose
Manifest digest
sha256:5fa9518570f1055387c3c54b56ca335894ba4bd1f1f9666c82ad8d07e9748cdc
services:
db:
# We use a mariadb image which supports both amd64 & arm64 architecture
image: mariadb:10.6.4-focal
# If you really want to use MySQL, uncomment the following line
#image: mysql:8.0.27
command: "--default-authentication-plugin=mysql_native_password"
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
- MYSQL_ROOT_PASSWORD=somewordpress
- MYSQL_DATABASE=wordpress
- MYSQL_USER=wordpress
- MYSQL_PASSWORD=wordpress
expose:
- 3306
- 33060
wordpress:
image: wordpress:latest
volumes:
- wp_data:/var/www/html
ports:
- 80:80
restart: always
environment:
- WORDPRESS_DB_HOST=db
- WORDPRESS_DB_USER=wordpress
- WORDPRESS_DB_PASSWORD=wordpress
- WORDPRESS_DB_NAME=wordpress
volumes:
db_data:
wp_data:
docker compose -f oci://lucasbernalte981/wordpress-compose:latest upUse the above command to pull and run the Compose file. Learn more.
MariaDB Server is a high performing open source relational database, forked from MySQL.
Pulls
1B+
Stars
6114
Last Updated
1 day
The WordPress rich content management system can utilize plugins, widgets, and themes.
Pulls
1B+
Stars
5883
Last Updated
1 day