You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,20 @@
1
1
# Docker Environment Boilerplate for WordPress
2
2
3
3
### Docker configuration:
4
-
- Nginx 1.19
4
+
- Nginx 1.20
5
5
- PHP 7.4
6
6
- Composer > 2.1
7
7
- MySQL 5.6
8
8
- PhpMyAdmin 5
9
-
- Node 15
9
+
- Node 16.14.2
10
10
- WP-CLI > 2.5.0
11
11
12
12
## Instructions
13
13
1. You need to add the string to `hosts` file your OS:
14
14
`127.0.0.1 wp-docker-boilerplate.local`
15
-
```bash
16
-
# create env file
17
-
docker/sh/create.env.sh
18
-
# !!! You must fill variables in .env file.
15
+
```bash
16
+
# copy & paste and fill variables
17
+
cp .env.dist .env
19
18
20
19
# run docker project.
21
20
make d.up
@@ -44,17 +43,16 @@ or
44
43
If you want change domain, you need to change `server_name` in `./docker/nginxconf.d/default.conf`.
45
44
46
45
47
-
## If you have troubles with VPN
48
-
1. If you use VPN, you need to disable VPN and run command:
49
-
`docker network create localdev`
50
-
2. After It you can run your VPN.
51
-
3. Add the code at end of the file:
52
-
```networks:
53
-
default:
54
-
external:
55
-
name: localdev
56
-
3. Make to
57
-
`docker-compose up -d`
58
-
46
+
### Q/A
47
+
If you get next error on MacOS
48
+
```failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:20575ecebe6216036d25dab5903808211f1e9ba63dc7825ac20cb975e34cfcae: not found```
49
+
50
+
create `docker-compose.override.yml` in the project and add following lines:
0 commit comments