Merge pull request #1 from schwei23/master

beep boop
pull/1/head
ZUNJAE 6 years ago committed by GitHub
commit 72ff1587c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,10 +9,10 @@ $ docker-compose up -d
## Usage ## 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 ## More info

@ -1,4 +1,4 @@
version: "3" version: "3.4"
services: services:
@ -9,9 +9,13 @@ services:
depends_on: depends_on:
- jikan-redis - jikan-redis
ports: ports:
- "9001:80" - "9000:80"
networks:
- default
restart: always restart: always
container_name: jikan-rest-api
jikan-redis: jikan-redis:
image: redis:5.0.3 image: redis:5.0.6-buster
restart: always restart: always
container_name: jikan-rest-redis

@ -11,7 +11,7 @@ DB_DATABASE=homestead
DB_USERNAME=homestead DB_USERNAME=homestead
DB_PASSWORD=secret DB_PASSWORD=secret
CACHE_DRIVER=file CACHE_DRIVER=redis
QUEUE_DRIVER=redis QUEUE_DRIVER=redis
CACHE_METHOD=legacy CACHE_METHOD=legacy

@ -1,4 +1,4 @@
FROM php:7.3.2-apache-stretch FROM php:7.3.11-apache-buster
ENV COMPOSER_ALLOW_SUPERUSER 1 ENV COMPOSER_ALLOW_SUPERUSER 1

@ -2,5 +2,5 @@
# allow write permission # allow write permission
chmod -R a+w storage/ chmod -R a+w storage/
# php:7.3.2-apache-stretch ENTRYPOINT # php:7.3.11-apache-buster ENTRYPOINT
docker-php-entrypoint apache2-foreground docker-php-entrypoint apache2-foreground
Loading…
Cancel
Save