mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 06:26:16 +00:00
use redis for queues, sessions and cache (#618)
This commit is contained in:
@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y
|
||||
|
||||
# requirements
|
||||
RUN apt-get install -y software-properties-common curl zip unzip gcc nginx git \
|
||||
RUN apt-get install -y software-properties-common curl zip unzip gcc nginx redis-server git \
|
||||
cron gnupg gosu curl ca-certificates zip unzip supervisor libcap2-bin libpng-dev \
|
||||
dnsutils librsvg2-bin fswatch wget openssh-client \
|
||||
&& add-apt-repository ppa:ondrej/php -y \
|
||||
|
@ -9,6 +9,7 @@ services:
|
||||
PASSWORD: "password"
|
||||
APP_KEY: "base64:UodiJrx3DkcMlizmoimNlDn+yd4q5f2VbkBay19rJwM="
|
||||
APP_PORT: 8000
|
||||
APP_URL: "http://localhost:8000"
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
ports:
|
||||
|
@ -58,6 +58,7 @@ chown -R www-data:www-data /var/www/html \
|
||||
&& chmod -R 755 /var/www/html/storage /var/www/html/bootstrap/cache
|
||||
service php8.4-fpm start
|
||||
|
||||
service redis-server start
|
||||
service nginx start
|
||||
|
||||
php /var/www/html/artisan migrate --force
|
||||
|
Reference in New Issue
Block a user