@fishawack/lab-env 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 2.0.1 (2022-04-13)
|
|
4
|
+
* [Bug] Explicitly set platform to fix M1 chip issues
|
|
5
|
+
|
|
3
6
|
### 2.0.0 (2022-04-05)
|
|
4
7
|
* [Feature] Craftcms now an option in `fw new` command
|
|
5
8
|
* [Change] Wordpress repos now works differently and will flag unsupported unless they change their folder structure - see [migration guide](https://demo.fishawack.solutions/Lab/Doc/#lab-env-migrating-200)
|
package/core/docker-compose.yml
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
services:
|
|
2
2
|
mysql:
|
|
3
|
+
platform: linux/amd64
|
|
3
4
|
image: mysql:5.7
|
|
4
5
|
networks:
|
|
5
6
|
- default
|
|
@@ -13,6 +14,7 @@ services:
|
|
|
13
14
|
volumes:
|
|
14
15
|
- mysql:/var/lib/mysql
|
|
15
16
|
nginx:
|
|
17
|
+
platform: linux/amd64
|
|
16
18
|
image: nginx:1.19
|
|
17
19
|
networks:
|
|
18
20
|
- default
|
|
@@ -22,6 +24,7 @@ services:
|
|
|
22
24
|
ports:
|
|
23
25
|
- "${PORT_WEB:-8000}:80"
|
|
24
26
|
php:
|
|
27
|
+
platform: linux/amd64
|
|
25
28
|
build:
|
|
26
29
|
context: ./php/
|
|
27
30
|
dockerfile: Dockerfile
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
services:
|
|
2
2
|
mysql:
|
|
3
|
+
platform: linux/amd64
|
|
3
4
|
image: mysql:8.0.23
|
|
4
5
|
networks:
|
|
5
6
|
- default
|
|
@@ -16,6 +17,7 @@ services:
|
|
|
16
17
|
- seccomp:unconfined
|
|
17
18
|
command: --default-authentication-plugin=mysql_native_password
|
|
18
19
|
apache:
|
|
20
|
+
platform: linux/amd64
|
|
19
21
|
image: bitnami/apache:2.4.51
|
|
20
22
|
networks:
|
|
21
23
|
- default
|
|
@@ -30,6 +32,7 @@ services:
|
|
|
30
32
|
ports:
|
|
31
33
|
- "${PORT_WEB:-8000}:8080"
|
|
32
34
|
php:
|
|
35
|
+
platform: linux/amd64
|
|
33
36
|
build:
|
|
34
37
|
context: ./php/
|
|
35
38
|
dockerfile: Dockerfile
|
|
@@ -51,6 +54,7 @@ services:
|
|
|
51
54
|
- vendor:/app/vendor
|
|
52
55
|
- drupal:/app/web
|
|
53
56
|
core:
|
|
57
|
+
platform: linux/amd64
|
|
54
58
|
volumes:
|
|
55
59
|
- drupal:/app/web
|
|
56
60
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
services:
|
|
2
2
|
mysql:
|
|
3
|
+
platform: linux/amd64
|
|
3
4
|
image: mysql:5.7
|
|
4
5
|
networks:
|
|
5
6
|
- default
|
|
@@ -13,6 +14,7 @@ services:
|
|
|
13
14
|
volumes:
|
|
14
15
|
- mysql:/var/lib/mysql
|
|
15
16
|
nginx:
|
|
17
|
+
platform: linux/amd64
|
|
16
18
|
image: nginx:1.19
|
|
17
19
|
networks:
|
|
18
20
|
- default
|
|
@@ -22,6 +24,7 @@ services:
|
|
|
22
24
|
ports:
|
|
23
25
|
- "${PORT_WEB:-8000}:80"
|
|
24
26
|
php:
|
|
27
|
+
platform: linux/amd64
|
|
25
28
|
build:
|
|
26
29
|
context: ./php/
|
|
27
30
|
dockerfile: Dockerfile
|
|
@@ -36,6 +39,7 @@ services:
|
|
|
36
39
|
- ./php/policy.xml:/etc/ImageMagick-6/policy.xml
|
|
37
40
|
- vendor:/app/vendor
|
|
38
41
|
redis:
|
|
42
|
+
platform: linux/amd64
|
|
39
43
|
image: redis:alpine
|
|
40
44
|
networks:
|
|
41
45
|
- default
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
services:
|
|
2
2
|
mysql:
|
|
3
|
+
platform: linux/amd64
|
|
3
4
|
image: mysql:5.7
|
|
4
5
|
networks:
|
|
5
6
|
- default
|
|
@@ -13,6 +14,7 @@ services:
|
|
|
13
14
|
volumes:
|
|
14
15
|
- mysql:/var/lib/mysql
|
|
15
16
|
wordpress:
|
|
17
|
+
platform: linux/amd64
|
|
16
18
|
build:
|
|
17
19
|
context: ./wordpress/
|
|
18
20
|
dockerfile: Dockerfile
|