(self-proclaimed) best WordPress 4.9.8 container on Docker Hub based on Alpine Linux
863
Lightweight MariaDB, and WordPress container with Nginx 1.12 & PHP-FPM 7.1 based on Alpine Linux.
"There is beauty in the unique; there is beauty in every skin!"
Hello. We are TheDifferent. a Startup with an unique approach to skin analysis, designed to help you truly understand your skin and get the right products for your needs. We are trying to turn skincare consultation into one of the world's most exciting Must-Have. Our founders saw a category that had been ignored, taken for granted, looked over, and dismissed. By creating life into something that had been overlooked, we are igniting a movement of self-discovery and 'savoir-vivre' that has drawn dermatologist, cosmeticians, make-up artists and iconic beauty influencers to the brand - a group we call the Modern Collective. By underpinning our creative roots with a relentless focus on innovation, we have ensured that TheDifferent. brings beauty to everyone who dare to be different.
United by difference and tied together by uniqueness, TheDifferent. is the first modern collective celebrating and honoring individuality by introducing shoe sizes into the cosmetic industry, which is currently driven by the constraint 'one-size-fits-all'. Our mission can be translated into these two questions: Do you know your shoe sizes? Do you know your skin type? TheDifferent. is as simple as this.
This environment variable defines which host has acces to the root user. The default is the wildcard "%". In the example below, it is being set to "localhost" for better security.
It' s advised to define this environment variable This environment variable sets the root password for MySQL. The default is generated with pwgen. In the example below, it is being set to "ciscocisco" please change for the sake of security.
Note 1: For a more PostgreSQL image like experience the root@localhost is set to trust authentication so you may notice a password is not required when connecting from localhost (inside the same container). However, a password will be required if connecting from a different host/container.
For better security you can disable trust authentication for root user. If this environment variable is set to "true" it disables local root trust authentication. The default is "false". In the example below, it is being set to "true".
This optional environment variable can be used to define a different name for the default database that is created when the image is first started. In the example below, it is being set to "wp".
This optional environment variable is used in conjunction with MYSQL_USER_PASSWORD to set a user and its password. This variable will create the specified user with power over MYSQL_DATABASE or if MYSQL_DATABASE not defined with superuser power. In the example below, it is being set to "wordpress" and has power over the db "wp".
This environment variable sets the user password for MYSQL_USER. The default is generated with pwgen. In the example below, it is being set to "cisco" please change for the sake of security.
version: '3.1'
services:
db:
image: thedifferent/mariadb
environment:
- "MYSQL_ROOT_HOST=localhost"
- "MYSQL_ROOT_PASSWORD=ciscocisco"
- "MYSQL_ROOT_PASSWORD_LOCAL=true"
- "MYSQL_DATABASE=wordpress"
- "MYSQL_USER=wp"
- "MYSQL_PASSWORD=cisco"
wordpress:
image: thedifferent/wordpress-alpine
depends_on:
- "db"
ports:
- "80:80"
environment:
- "DB_HOST=db"
- "DB_NAME=wordpress"
- "DB_USER=wp"
- "DB_PASSWORD=cisco"
- "WORDPRESS_SITE_URL=http://localhost"
version: '3.1'
services:
db:
#image: thedifferent/mariadb
build: mariadb
environment:
- "MYSQL_ROOT_HOST=localhost"
- "MYSQL_ROOT_PASSWORD=ciscocisco"
- "MYSQL_ROOT_PASSWORD_LOCAL=true"
- "MYSQL_DATABASE=wordpress"
- "MYSQL_USER=wp"
- "MYSQL_PASSWORD=cisco"
wordpress:
#image: thedifferent/wordpress-alpine
build: wordpress
depends_on:
- "db"
ports:
- "80:80"
environment:
- "DB_HOST=db"
- "DB_NAME=wordpress"
- "DB_USER=wp"
- "DB_PASSWORD=cisco"
- "WORDPRESS_SITE_URL=http://localhost"
version: '3.1'
services:
db:
image: thedifferent/mariadb
#build: mariadb
networks:
- "wp-net"
environment:
- "MYSQL_ROOT_HOST=localhost"
- "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}"
- "MYSQL_ROOT_PASSWORD_LOCAL=true"
- "MYSQL_DATABASE=wp"
- "MYSQL_USER=wordpress"
- "MYSQL_PASSWORD=${MYSQL_PASSWORD}"
#resources:
# limits:
# cpus: '0.3'
# memory: 512M
# reservations:
# cpus: '0.15'
# memory: 256M
wordpress:
image: thedifferent/wordpress-alpine
#build: wordpress
depends_on:
- "db"
networks:
- "wp-net"
ports:
- "${WP_PORT}:80"
environment:
- "DB_HOST=db"
- "DB_NAME=wp"
- "DB_USER=wordpress"
- "DB_PASSWORD=${MYSQL_PASSWORD}"
- "WORDPRESS_SITE_URL=${WP_SITE_URL}"
#resources:
# limits:
# cpus: '0.50'
# memory: 1024M
# reservations:
# cpus: '0.25'
# memory: 512M
networks:
wp-net:
driver: overlay
Content type
Image
Digest
Size
45.6 MB
Last updated
about 8 years ago
docker pull thedifferent/wordpress-alpine