diff --git a/README.md b/README.md index fe47b69..280fbf1 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,7 @@ Requires: * Fork or Clone this repo * Run `docker-compose up -d` -* Set alias for wp-cli commands `alias dwp='docker exec war-wordpress wp'` -* Upgrade WordPress `dwp core upgrade` -* Set directory and folder permissions `sudo find wordpress/. -type d -exec chmod 775 {} \;` and `sudo find wordpress/. -type f -exec chmod 664 {} \;` +* If on linux: Set directory and folder permissions `sudo find wordpress/. -type d -exec chmod 775 {} \;` and `sudo find wordpress/. -type f -exec chmod 664 {} \;` * View README.md in `/wordpress/wp-content/plugins` * View README.md in `/wordpress/wp-content/themes` * View README.md in `/angular` directory diff --git a/docker-compose.yml b/docker-compose.yml index 9f57263..e4c1c19 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,10 +2,7 @@ version: '3' services: wordpress: - container_name: war-wordpress - depends_on: - - mysqldb - image: ohmydocker/docker-wordpress-wp-cli:latest + image: wordpress:latest links: - mysqldb:mysql volumes: @@ -17,7 +14,6 @@ services: WORDPRESS_DB_PASSWORD: wordpress mysqldb: - container_name: war-mysql image: mysql:latest volumes: - db_data:/var/lib/mysql @@ -28,7 +24,6 @@ services: MYSQL_PASSWORD: wordpress phpmyadmin: - container_name: war-pma image: phpmyadmin/phpmyadmin:latest links: - mysqldb:mysql