Skip to content

Commit 5115459

Browse files
committed
wordpress
1 parent 6c9fdd1 commit 5115459

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

File renamed without changes.

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM wordpress:6.8.1-php8.3-apache
1+
FROM wordpress:beta-7.0-php8.3-apache
2+
23
RUN apt-get update && \
34
apt-get install -y --no-install-recommends ssl-cert && \
45
rm -r /var/lib/apt/lists/* && \
56
a2enmod ssl rewrite expires && \
67
a2ensite default-ssl
78

8-
ENV PHP_INI_PATH "/usr/local/etc/php/php.ini"
9+
ENV PHP_INI_PATH="/usr/local/etc/php/php.ini"
910

10-
RUN pecl install xdebug-3.4.2 && docker-php-ext-enable xdebug \
11+
RUN pecl install xdebug-3.5.1 && docker-php-ext-enable xdebug \
1112
&& echo "xdebug.mode=debug" >> ${PHP_INI_PATH} \
1213
&& echo "xdebug.client_port=9003" >> ${PHP_INI_PATH} \
1314
&& echo "xdebug.client_host=host.docker.internal" >> ${PHP_INI_PATH} \
@@ -16,4 +17,4 @@ RUN pecl install xdebug-3.4.2 && docker-php-ext-enable xdebug \
1617
&& echo "xdebug.idekey=IDE_DEBUG" >> ${PHP_INI_PATH}
1718

1819
EXPOSE 80
19-
EXPOSE 443
20+
EXPOSE 443

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ services:
1313
WORDPRESS_DB_USER: wordpress
1414
WORDPRESS_DB_PASSWORD: wordpress
1515
WORDPRESS_DB_NAME: wordpress
16+
# WORDPRESS_CONFIG_EXTRA: |
17+
# define('WP_HOME', 'https://localhost:7443');
18+
# define('WP_SITEURL', 'https://localhost:7443');
1619
volumes:
1720
- ../:/var/www/html/wp-content/plugins
1821
- ./logs/:/var/log/apache2
@@ -26,4 +29,4 @@ services:
2629
MARIADB_ROOT_PASSWORD: somewordpress
2730
MARIADB_DATABASE: wordpress
2831
MARIADB_USER: wordpress
29-
MARIADB_PASSWORD: wordpress
32+
MARIADB_PASSWORD: wordpress

0 commit comments

Comments
 (0)