File tree Expand file tree Collapse file tree 4 files changed +20
-12
lines changed Expand file tree Collapse file tree 4 files changed +20
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ./tools/docker-dev/web/composer.json
Original file line number Diff line number Diff line change 1
- version : " 3.9"
2
1
services :
3
2
identity :
4
3
hostname : identity
@@ -12,6 +11,8 @@ services:
12
11
- " 8000:80"
13
12
volumes :
14
13
- ../../:/var/www/unity-web-portal
14
+ # anonymous volume for PHP dependencies
15
+ - /var/www/unity-web-portal/vendor
15
16
sql :
16
17
hostname : sql
17
18
build : sql
@@ -27,4 +28,4 @@ services:
27
28
image : redis
28
29
networks :
29
30
default :
30
- name : unity_dev_network
31
+ name : unity_dev_network
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:24.04
2
2
3
- # Web Server Setup
4
3
ARG DEBIAN_FRONTEND=noninteractive
5
4
RUN apt-get update && apt-get install -y \
6
5
apache2 \
@@ -11,7 +10,14 @@ RUN apt-get update && apt-get install -y \
11
10
php-ldap \
12
11
php-pdo \
13
12
php-redis \
14
- php-cli
13
+ php-cli \
14
+ composer
15
+
16
+ # PHP dependencies
17
+ COPY composer.json /var/www/unity-web-portal/composer.json
18
+ RUN cd /var/www/unity-web-portal && composer update
19
+
20
+ # Web Server Setup
15
21
COPY htpasswd /etc/apache2/.htpasswd
16
22
COPY unity-apache.conf /etc/apache2/sites-available/unity.conf
17
23
RUN a2dissite 000-default
Original file line number Diff line number Diff line change
1
+ {
2
+ "require" : {
3
+ "psr/log" : " 1.1.4" ,
4
+ "phpseclib/phpseclib" : " 3.0.16" ,
5
+ "phpmailer/phpmailer" : " 6.6.4" ,
6
+ "hakasapl/phpopenldaper" : " 1.0.5"
7
+ }
8
+ }
You can’t perform that action at this time.
0 commit comments