Changeset 57568
Legend:
- Unmodified
- Added
- Removed
-
trunk/.env
r56453 r57568 47 47 # The database version to use. 48 48 # 49 # Defaults to 5.7with the assumption that LOCAL_DB_TYPE is set to `mysql` above.49 # Defaults to 8.0 with the assumption that LOCAL_DB_TYPE is set to `mysql` above. 50 50 # 51 51 # When using `mysql`, see https://hub.docker.com/r/amd64/mysql for valid versions. 52 52 # When using `mariadb`, see https://hub.docker.com/r/amd64/mariadb for valid versions. 53 53 ## 54 LOCAL_DB_VERSION= 5.754 LOCAL_DB_VERSION=8.0 55 55 56 56 # The debug settings to add to `wp-config.php`. -
trunk/README.md
r57212 r57568 119 119 ``` 120 120 121 #### Resetting the development environment 122 123 The development environment can be reset. This will destroy the database and attempt to remove the pulled Docker images. 124 125 ``` 126 npm run env:reset 127 ``` 128 129 ### Apple Silicone machines and old MySQL versions 130 131 The MySQL Docker images do not support Apple Silicone processors (M1, M2, etc.) for MySQL versions 5.7 and earlier. 132 133 When using MySQL <= 5.7 on an Apple Silicone machine, you must create a `docker-compose.override.yml` file with the following contents: 134 135 ``` 136 services: 137 138 mysql: 139 platform: linux/amd64 140 ``` 141 142 Additionally, the "Use Rosetta for x86/AMD64 emulation on Apple Silicon" setting in Docker needs to be disabled for this workaround. 143 121 144 ## Credentials 122 145 -
trunk/docker-compose.yml
r56464 r57568 66 66 ## 67 67 mysql: 68 image: amd64/${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}68 image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest} 69 69 70 70 networks:
Note: See TracChangeset
for help on using the changeset viewer.