Skip to content

Commit

Permalink
remove custom PHP build and phpmyadmin from docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
njeffers committed Feb 16, 2020
1 parent 697ca3d commit ba150fe
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ services:
- "./woocommerce-price-ajax:/var/www/html/wp-content/plugins/woocommerce-price-ajax:rw"
- "./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini"

php:
build:
context: .
args:
- WITH_XDEBUG=true
env_file: .env
volumes:
- .:/var/www/app:rw
# php:
# build:
# context: .
# args:
# - WITH_XDEBUG=true
# env_file: .env
# volumes:
# - .:/var/www/app:rw


wp-cli:
Expand Down Expand Up @@ -67,18 +67,18 @@ services:
volumes:
- "/var/run/docker.sock:/tmp/docker.sock:ro"

phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
links:
- db:mysql
ports:
- "8181:80"
networks:
- "back"
environment:
MYSQL_USERNAME: wordpress
MYSQL_PORT_3306_TCP_ADDR: db
MYSQL_ROOT_PASSWORD: wordpress
# phpmyadmin:
# image: phpmyadmin/phpmyadmin:latest
# links:
# - db:mysql
# ports:
# - "8181:80"
# networks:
# - "back"
# environment:
# MYSQL_USERNAME: wordpress
# MYSQL_PORT_3306_TCP_ADDR: db
# MYSQL_ROOT_PASSWORD: wordpress

# composer:
## restart: 'always'
Expand Down

0 comments on commit ba150fe

Please sign in to comment.