This commit is contained in:
hackerESQ
2025-01-25 20:13:19 -06:00
parent 4f5894ef4a
commit 9a3e030ce7
2 changed files with 4 additions and 5 deletions
+3 -5
View File
@@ -9,15 +9,12 @@ services:
tty: true
ports:
- "${APP_PORT:-8000}:80"
env_file:
- .env
env_file: .env
depends_on:
- mysql
- redis
networks:
- investbrain-network
volumes:
- .:/var/www/app/:rw
redis:
image: redis:alpine
container_name: investbrain-redis
@@ -36,8 +33,9 @@ services:
MYSQL_USER: ${DB_USERNAME:-investbrain}
MYSQL_PASSWORD: ${DB_PASSWORD:-investbrain}
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-investbrain}
command: --cte-max-recursion-depth=1000
volumes:
- ./docker/mysql.conf:/etc/mysql/conf.d/my.cnf
# - ./docker/mysql.conf:/etc/mysql/conf.d/my.cnf
- investbrain-mysql:/var/lib/mysql
networks:
- investbrain-network
+1
View File
@@ -8,6 +8,7 @@ WORKDIR /var/www/app
# Set permissions
RUN chown -R www-data:www-data . \
&& chmod -R 775 ./storage \
&& chmod +x ./docker/entrypoint.sh \
# Install common php extension dependencies
&& apt-get update && apt-get install -y \