File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ services:
45
45
- mysql
46
46
- " apache:${HOST_NAME:-openmage-7f000001.nip.io}"
47
47
48
+ composer :
49
+ image : composer:2.4
50
+ volumes :
51
+ - ../..:/app
52
+
48
53
mysql :
49
54
image : mysql:5.7
50
55
ports :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ sleep 4
12
12
echo " Starting services..."
13
13
for i in $( seq 1 20) ; do
14
14
sleep 1
15
- docker exec openmage_mysql_1 mysql -e ' show databases;' 2> /dev/null | grep -qF ' openmage' && break
15
+ docker exec gitpod-mysql-1 mysql -e ' show databases;' 2> /dev/null | grep -qF ' openmage' && break
16
16
done
17
17
18
18
HOST_PORT_PART=" :${HOST_PORT:- 80} "
@@ -22,6 +22,9 @@ ADMIN_EMAIL="${ADMIN_EMAIL:-admin@example.com}"
22
22
ADMIN_USERNAME=" ${ADMIN_USERNAME:- admin} "
23
23
ADMIN_PASSWORD=" ${ADMIN_PASSWORD:- veryl0ngpassw0rd} "
24
24
25
+ echo " Installing Composer dependencies..."
26
+ docker-compose run --rm composer composer install --no-progress --ignore-platform-req=ext-*
27
+
25
28
echo " Installing OpenMage LTS..."
26
29
docker-compose run --rm cli php install.php \
27
30
--license_agreement_accepted yes \
@@ -46,5 +49,5 @@ docker-compose run --rm cli php install.php \
46
49
47
50
echo " "
48
51
echo " Setup is complete!"
49
- echo " Visit ${BASE_URL} admin and login with '$ADMIN_USERNAME ' : '$ADMIN_PASSWORD '"
50
- echo " MySQL server IP: $( docker exec openmage_apache_1 getent hosts mysql | awk ' {print $1}' ) "
52
+ echo " Visit ${BASE_URL} / admin and login with '$ADMIN_USERNAME ' : '$ADMIN_PASSWORD '"
53
+ echo " MySQL server IP: $( docker exec gitpod-apache-1 getent hosts mysql | awk ' {print $1}' ) "
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ services:
43
43
- mysql
44
44
- " apache:${HOST_NAME:-openmage-7f000001.nip.io}"
45
45
46
+ composer :
47
+ image : composer:2.4
48
+ volumes :
49
+ - ../..:/app
50
+
46
51
mysql :
47
52
image : mysql:5.7
48
53
ports :
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ for i in $(seq 1 20); do
47
47
$dc exec mysql mysql -e ' show databases;' 2> /dev/null | grep -qF ' openmage' && break
48
48
done
49
49
50
+ echo " Installing Composer dependencies..."
51
+ $dc run --rm composer composer install --no-progress --ignore-platform-req=ext-*
52
+
50
53
echo " Installing OpenMage LTS..."
51
54
$dc run --rm cli php install.php \
52
55
--license_agreement_accepted yes \
You can’t perform that action at this time.
0 commit comments