wip
This commit is contained in:
@@ -9,6 +9,20 @@ services:
|
||||
tty: true
|
||||
ports:
|
||||
- "${APP_PORT:-8000}:80"
|
||||
environment:
|
||||
- APP_KEY= # Generate a key using `openssl rand -base64 32`
|
||||
- APP_URL="http://localhost:8000"
|
||||
- ASSET_URL="http://localhost:8000"
|
||||
- DB_CONNECTION=mysql
|
||||
- DB_HOST=investbrain-mysql
|
||||
- DB_PORT=3306
|
||||
- DB_DATABASE=investbrain
|
||||
- DB_USERNAME=investbrain
|
||||
- DB_PASSWORD=investbrain
|
||||
- SESSION_DRIVER=redis
|
||||
- QUEUE_CONNECTION=redis
|
||||
- CACHE_STORE=redis
|
||||
- REDIS_HOST=investbrain-redis
|
||||
volumes:
|
||||
- ./storage:/var/www/app/storage:delegated
|
||||
depends_on:
|
||||
|
||||
+1
-14
@@ -2,22 +2,9 @@ FROM php:8.3-fpm
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV APP_NAME=Investbrain
|
||||
ENV APP_URL="http://localhost:8000"
|
||||
ENV ASSET_URL="http://localhost:8000"
|
||||
ENV VITE_APP_NAME=Investbrain
|
||||
ENV APP_DEBUG=true
|
||||
ENV SELF_HOSTED=true
|
||||
ENV DB_CONNECTION=mysql
|
||||
ENV DB_HOST=investbrain-mysql
|
||||
ENV DB_PORT=3306
|
||||
ENV DB_DATABASE=investbrain
|
||||
ENV DB_USERNAME=investbrain
|
||||
ENV DB_PASSWORD=investbrain
|
||||
ENV SESSION_DRIVER=redis
|
||||
ENV QUEUE_CONNECTION=redis
|
||||
ENV CACHE_STORE=redis
|
||||
ENV REDIS_HOST=investbrain-redis
|
||||
ENV REDIS_PATH=/tmp/database_server.sock
|
||||
ENV VITE_APP_NAME=Investbrain
|
||||
|
||||
# Set the working directory
|
||||
COPY . /var/www/app
|
||||
|
||||
Reference in New Issue
Block a user