Add more modules to phpvms
This commit is contained in:
parent
0e47afdf5e
commit
82f65d396f
4 changed files with 80 additions and 18 deletions
|
|
@ -84,10 +84,13 @@ phpvms_compose_base:
|
|||
user: "${WWWUSER:-1000}:${WWWGROUP:-1000}"
|
||||
image: "{{ phpvms_docker_image }}"
|
||||
restart: always
|
||||
command: sh -c "sed -i
|
||||
's/Paginator::useBootstrap();/Paginator::useBootstrap();
|
||||
\\\\Illuminate\\\\Support\\\\Facades\\\\URL::forceScheme(\"https\");/'
|
||||
app/Providers/AppServiceProvider.php && php-fpm"
|
||||
command: sh -c "
|
||||
sed -i
|
||||
's/Paginator::useBootstrap();/Paginator::useBootstrap();
|
||||
\\\\Illuminate\\\\Support\\\\Facades\\\\URL::forceScheme(\"https\");/'
|
||||
app/Providers/AppServiceProvider.php
|
||||
&& cp -r /var/www/html/resources_in/* /var/www/html/resources
|
||||
&& php-fpm"
|
||||
environment:
|
||||
PHP_OPCACHE_ENABLE: 1
|
||||
# some basic laravel stuff
|
||||
|
|
@ -95,8 +98,8 @@ phpvms_compose_base:
|
|||
env_file: .env
|
||||
volumes:
|
||||
- ./public/:/var/www/html/public:rw
|
||||
- ./modules:/var/www/html/modules:ro
|
||||
- ./public/uploads:/var/www/html/public/uploads:rw
|
||||
- ./modules:/var/www/html/modules:rw
|
||||
- ./resources:/var/www/html/resources_in:rw
|
||||
- ./storage:/var/www/html/storage:rw
|
||||
depends_on:
|
||||
- mariadb
|
||||
|
|
@ -118,7 +121,7 @@ phpvms_compose_base:
|
|||
env_file: .env
|
||||
volumes:
|
||||
- ./modules:/var/www/html/modules:ro
|
||||
- ./public/uploads:/var/www/html/public/uploads:rw
|
||||
- ./public/:/var/www/html/public:rw
|
||||
- ./storage:/var/www/html/storage:rw
|
||||
networks:
|
||||
default:
|
||||
|
|
@ -137,7 +140,7 @@ phpvms_compose_base:
|
|||
env_file: .env
|
||||
volumes:
|
||||
- ./modules:/var/www/html/modules:ro
|
||||
- ./public/uploads:/var/www/html/public/uploads:rw
|
||||
- ./public/:/var/www/html/public:rw
|
||||
- ./storage:/var/www/html/storage:rw
|
||||
networks:
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue