Update stack

Signed-off-by: Junwei Chen <jwchen1259@gmail.com>
pull/1/head
Junwei Chen 6 years ago
parent e9bda9efc2
commit 8a8c5029cb

@ -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