Formatting changes
This commit is contained in:
parent
e0c0f3e58f
commit
d4e4f75007
@ -8,10 +8,10 @@ services:
|
||||
restart: always
|
||||
env_file: ".env"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: $(MYSQL_ROOT_PASSWORD)
|
||||
MYSQL_DATABASE: $(MYSQL_DATABASE)
|
||||
MYSQL_USER: $(MYSQL_USER)
|
||||
MYSQL_PASSWORD: $(MYSQL_PASSWORD)
|
||||
- MYSQL_ROOT_PASSWORD=$(MYSQL_ROOT_PASSWORD)
|
||||
- MYSQL_DATABASE=$(MYSQL_DATABASE)
|
||||
- MYSQL_USER=$(MYSQL_USER)
|
||||
- MYSQL_PASSWORD=$(MYSQL_PASSWORD)
|
||||
|
||||
wordpress:
|
||||
image: wordpress:latest
|
||||
@ -22,10 +22,10 @@ services:
|
||||
restart: always
|
||||
env_file: ".env"
|
||||
environment:
|
||||
WORDPRESS_DB_NAME: ${WORDPRESS_DB_NAME}
|
||||
WORDPRESS_DB_HOST: ${WORDPRESS_DB_HOST}
|
||||
WORDPRESS_DB_USER: ${WORDPRESS_DB_USER}
|
||||
WORDPRESS_DB_PASSWORD: ${WORDPRESS_DB_PASSWORD}
|
||||
- WORDPRESS_DB_NAME=${WORDPRESS_DB_NAME}
|
||||
- WORDPRESS_DB_HOST=${WORDPRESS_DB_HOST}
|
||||
- WORDPRESS_DB_USER=${WORDPRESS_DB_USER}
|
||||
- WORDPRESS_DB_PASSWORD=${WORDPRESS_DB_PASSWORD}
|
||||
volumes:
|
||||
- ~/wordpress/data:/var/www/html
|
||||
|
||||
@ -56,8 +56,8 @@ services:
|
||||
# WP CLI needs the environment variables used for the Wordpress image
|
||||
env_file: ".env"
|
||||
environment:
|
||||
WORDPRESS_DB_NAME: ${WORDPRESS_DB_NAME}
|
||||
WORDPRESS_DB_HOST: ${WORDPRESS_DB_HOST}
|
||||
WORDPRESS_DB_USER: ${WORDPRESS_DB_USER}
|
||||
WORDPRESS_DB_PASSWORD: ${WORDPRESS_DB_PASSWORD}
|
||||
- WORDPRESS_DB_NAME=${WORDPRESS_DB_NAME}
|
||||
- WORDPRESS_DB_HOST=${WORDPRESS_DB_HOST}
|
||||
- WORDPRESS_DB_USER=${WORDPRESS_DB_USER}
|
||||
- WORDPRESS_DB_PASSWORD=${WORDPRESS_DB_PASSWORD}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user