Skip to content

Commit 9e1dedc

Browse files
committed
update docker file and docker compose
1 parent 7689dae commit 9e1dedc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ RUN wp core download
9999
RUN curl -L \
100100
https://raw.githubusercontent.com/docker-library/wordpress/master/latest/php8.2/apache/wp-config-docker.php \
101101
-o /var/www/index/wp-config.php
102+
102103
# 2) Use awk to replace all instances of "put your unique phrase here" with a
103104
# properly unique string (for AUTH_KEY and friends to have safe defaults if
104105
# they aren't specified with environment variables)

docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
WORDPRESS_DB_HOST: index-db:3306
3232
WORDPRESS_DB_PASSWORD: root
3333
WORDPRESS_DB_USER: root
34-
WORDPRESS_DB_name: wordpress
34+
WORDPRESS_DB_NAME: wordpress
3535
WORDPRESS_USER: root
3636
init: true
3737
ports:
@@ -65,6 +65,7 @@ services:
6565
- ./config/composer/composer.lock:/var/www/index/composer.lock
6666

6767

68+
6869
index-db:
6970
container_name: index-db
7071
environment:

0 commit comments

Comments
 (0)