Skip to content
Snippets Groups Projects
Commit 247d967e authored by Davide Aprea's avatar Davide Aprea
Browse files

create docker container

parent 50bf6c01
No related branches found
No related tags found
1 merge request!1Development
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
\ No newline at end of file
...@@ -66,5 +66,7 @@ COPY --chown=root:www-data . /html ...@@ -66,5 +66,7 @@ COPY --chown=root:www-data . /html
WORKDIR /html WORKDIR /html
EXPOSE 80 EXPOSE 80
CMD cron -L /dev/stdout && \ CMD if [ ! -f .env ]; then cp .env.example .env; php artisan key:generate; fi && \
php-fpm7.4 -F -R chown -R root:www-data storage bootstrap/cache && \
cron -L /dev/stdout && \
php-fpm7.4 -F -R
\ No newline at end of file
...@@ -58,5 +58,7 @@ RUN sed -i 's/error_log = \/var\/log\/php7.4-fpm.log/error_log = \/dev\/stderr/g ...@@ -58,5 +58,7 @@ RUN sed -i 's/error_log = \/var\/log\/php7.4-fpm.log/error_log = \/dev\/stderr/g
WORKDIR /html WORKDIR /html
EXPOSE 80 EXPOSE 80
CMD cron -L /dev/stdout && \ CMD if [ ! -f .env ]; then cp .env.example .env; php artisan key:generate; fi && \
php-fpm7.4 -F -R chown -R root:www-data storage bootstrap/cache && \
cron -L /dev/stdout && \
php-fpm7.4 -F -R
\ No newline at end of file
File mode changed from 100644 to 100755
...@@ -28,7 +28,7 @@ services: ...@@ -28,7 +28,7 @@ services:
- "phpfpm" - "phpfpm"
image: searx-proxy:latest image: searx-proxy:latest
working_dir: /html working_dir: /html
command: nginx command: nginx
volumes: volumes:
- .:/html - .:/html
- ./config/nginx.conf:/etc/nginx/nginx.conf - ./config/nginx.conf:/etc/nginx/nginx.conf
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment