Skip to content

Commit

Permalink
Merge pull request #28 from islamic-network/slim4
Browse files Browse the repository at this point in the history
Update to Slim4 - some testing and documentation
  • Loading branch information
meezaan authored Jun 6, 2022
2 parents 1ad830f + 1aaaef9 commit 1643d43
Show file tree
Hide file tree
Showing 11 changed files with 817 additions and 327 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM islamicnetwork/php:8.0-apache
FROM islamicnetwork/php:8.1-apache

# Copy files
RUN cd ../ && rm -rf /var/www/html
Expand All @@ -7,7 +7,3 @@ COPY /etc/apache2/mods-enabled/mpm_prefork.conf /etc/apache2/mods-enabled/mpm_pr

# Run Composer
RUN cd /var/www && composer install --no-dev

ENV LOAD_BALANCER_KEY "LB_KEY"
# 0 = false, 1 = true
ENV LOAD_BALANCER_MODE "0"
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
],
"require": {
"php": ">7.0",
"slim/slim": "^3.0",
"slim/slim": "^4.9",
"monolog/monolog": "~1.17",
"slim/php-view": "^2.1",
"alquran/api-client": "1.2",
"alquran/tools": "dev-master"
"alquran/api-client": "^1.3",
"alquran/tools": "dev-master",
"slim/psr7": "^1.5",
"php-di/php-di": "^6.3"
},
"autoload": {
"psr-0": {"": "src/"}
Expand Down
Loading

0 comments on commit 1643d43

Please sign in to comment.