Works again, sorry, been sleeping

pull/7/head
sunjay 5 years ago
parent ec69cc79a0
commit ec61eb1eb4

@ -9,7 +9,7 @@ services:
depends_on:
- jikan-redis
ports:
- "9001:80"
- "9001:8000"
networks:
- default
restart: always

@ -4,15 +4,15 @@ APP_KEY=
APP_TIMEZONE=UTC
APP_URL=http://localhost
CACHE_DRIVER=file
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
CACHE_METHOD=legacy
CACHE_DEFAULT_EXPIRE=3600
CACHE_DEFAULT_EXPIRE=1000
CACHE_META_EXPIRE=300
CACHE_USER_EXPIRE=300
CACHE_404_EXPIRE=3600
CACHE_SEARCH_EXPIRE=3600
CACHE_SEARCH_EXPIRE=1000
MICROCACHING=false
MICROCACHING_EXPIRE=5

@ -7,11 +7,11 @@ RUN apt-get update && apt-get install -y \
git \
unzip \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& composer --version \
&& a2enmod rewrite \
&& service apache2 restart \
&& git clone https://github.com/jikan-me/jikan-rest.git . \
&& composer install --prefer-dist --no-progress --no-suggest --classmap-authoritative --no-interaction \
&& composer --version
RUN git clone https://github.com/jikan-me/jikan-rest.git . \
&& composer require 'composer/package-versions-deprecated' \
&& composer install --prefer-dist --no-progress --classmap-authoritative --no-interaction \
&& composer update jikan-me/jikan
ADD .env /run-jikan.sh ./

@ -1,6 +1,3 @@
#!/usr/bin/env bash
# allow write permission
chmod -R a+w storage/
# php:7.3.14-apache-buster ENTRYPOINT
docker-php-entrypoint apache2-foreground
php -S 0.0.0.0:8000 -t public
Loading…
Cancel
Save