-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from grueneschweiz/dev
1.7.1
- Loading branch information
Showing
11 changed files
with
50 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM wordpress | ||
|
||
# Add xdebug | ||
RUN pecl install xdebug | ||
RUN docker-php-ext-enable xdebug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.idea | ||
node_modules | ||
node_modules | ||
/wordpress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
# https://github.com/chriszarate/docker-compose-wordpress | ||
|
||
version: "2" | ||
version: "3.8" | ||
|
||
services: | ||
wordpress: | ||
image: "chriszarate/wordpress" | ||
image: grueneschweiz/raisenow-community:latest | ||
build: | ||
context: . | ||
dockerfile: "./.docker/wordpress.Dockerfile" | ||
environment: | ||
VIRTUAL_HOST: "${DOCKER_DEV_DOMAIN}" | ||
WORDPRESS_ACTIVATE_PLUGINS: "raisenow-community" # plugin folder relative to /wp-content/plugins/ | ||
WORDPRESS_ACTIVATE_THEME: "" # theme folder relative to /wp-content/themes/ | ||
WORDPRESS_SITE_TITLE: "RaiseNow Community Plugin" | ||
WORDPRESS_SITE_URL: "http://${DOCKER_DEV_DOMAIN}" | ||
XDEBUG_CONFIG: "remote_host=${DOCKER_LOCAL_IP} idekey=xdebug" | ||
WORDPRESS_DB_HOST: "mysql" | ||
WORDPRESS_DB_NAME: "wordpress" | ||
WORDPRESS_DB_PASSWORD: "" | ||
WORDPRESS_DB_USER: "root" | ||
WORDPRESS_DEBUG: 1 | ||
PHP_IDE_CONFIG: serverName=Docker | ||
depends_on: | ||
- "mysql" | ||
volumes: | ||
- ".:/var/www/html/wp-content/plugins/raisenow-community" | ||
- "./.docker/addon-php.ini:/usr/local/etc/php/conf.d/addon-php.ini:ro" | ||
ports: | ||
- "8080:80" | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
|
||
mysql: | ||
image: "mariadb:10.2" | ||
environment: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes" | ||
MYSQL_DATABASE: "wordpress" | ||
MYSQL_ROOT_PASSWORD: "" | ||
MYSQL_ROOT_PASSWORD: "" | ||
volumes: | ||
- "db:/var/lib/mysql" | ||
|
||
volumes: | ||
db: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters