Changeset 57862
- Timestamp:
- 03/21/2024 06:40:34 PM (2 years ago)
- Location:
- branches/6.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
-
branches/6.4/.env
r57198 r57862 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`. -
branches/6.4/README.md
r57214 r57862 112 112 ``` 113 113 114 #### Resetting the development environment 115 116 The development environment can be reset. This will destroy the database and attempt to remove the pulled Docker images. 117 118 ``` 119 npm run env:reset 120 ``` 121 122 ### Apple Silicone machines and old MySQL versions 123 124 The MySQL Docker images do not support Apple Silicone processors (M1, M2, etc.) for MySQL versions 5.7 and earlier. 125 126 When using MySQL <= 5.7 on an Apple Silicone machine, you must create a `docker-compose.override.yml` file with the following contents: 127 128 ``` 129 services: 130 131 mysql: 132 platform: linux/amd64 133 ``` 134 135 Additionally, the "Use Rosetta for x86/AMD64 emulation on Apple Silicon" setting in Docker needs to be disabled for this workaround. 136 114 137 ## Credentials 115 138 -
branches/6.4/docker-compose.yml
r56464 r57862 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.