This commit is contained in:
splin94@yandex.ru 2023-11-10 12:35:41 +00:00
parent 026b128ead
commit d4e76674db
2 changed files with 14 additions and 0 deletions

View File

@ -34,5 +34,6 @@ COPY start.sh /home/start.sh
#nginx
ADD docker/nginx/default.conf /etc/nginx/conf.d/default.conf
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
RUN chmod 777 /var/www/storage/app/uploads
CMD ["/bin/bash","/home/start.sh"]

13
docker-compose-nas.yml Normal file
View File

@ -0,0 +1,13 @@
version: '3.8'
services:
php-fpm:
image: striker72rus/log-viewer:test
container_name: LaravelLogViewer
user: root
privileged: true
environment:
PHP_IDE_CONFIG: "serverName=localhost"
volumes:
- /volume1/docker/logViewer:/var/www/storage/app/uploads
ports:
- "8081:80"