diff --git a/README.md b/README.md index 72976a5..2d50ecd 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ $ docker-compose up -d ## Usage -Access the API (v3) `port 9001`: +Access the API (v3) `port 9000`: ``` -http://localhost:9001/public/v3 +http://localhost:9000/public/v3 ``` ## More info diff --git a/docker-compose.yml b/docker-compose.yml index cb15ebb..ac74a4e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3" +version: "3.4" services: @@ -9,9 +9,13 @@ services: depends_on: - jikan-redis ports: - - "9001:80" + - "9000:80" + networks: + - default restart: always + container_name: jikan-rest-api jikan-redis: - image: redis:5.0.3 + image: redis:5.0.6-buster restart: always + container_name: jikan-rest-redis diff --git a/jikan/.env b/jikan/.env index 35426ef..db07021 100755 --- a/jikan/.env +++ b/jikan/.env @@ -11,7 +11,7 @@ DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret -CACHE_DRIVER=file +CACHE_DRIVER=redis QUEUE_DRIVER=redis CACHE_METHOD=legacy diff --git a/jikan/Dockerfile b/jikan/Dockerfile index 6c1be9d..525c4fb 100755 --- a/jikan/Dockerfile +++ b/jikan/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.3.2-apache-stretch +FROM php:7.3.11-apache-buster ENV COMPOSER_ALLOW_SUPERUSER 1 diff --git a/jikan/run-jikan.sh b/jikan/run-jikan.sh index fd1c4ea..45f3638 100755 --- a/jikan/run-jikan.sh +++ b/jikan/run-jikan.sh @@ -2,5 +2,5 @@ # allow write permission chmod -R a+w storage/ -# php:7.3.2-apache-stretch ENTRYPOINT +# php:7.3.11-apache-buster ENTRYPOINT docker-php-entrypoint apache2-foreground \ No newline at end of file