-
This commit is contained in:
parent
026b128ead
commit
d4e76674db
@ -34,5 +34,6 @@ COPY start.sh /home/start.sh
|
|||||||
#nginx
|
#nginx
|
||||||
ADD docker/nginx/default.conf /etc/nginx/conf.d/default.conf
|
ADD docker/nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
RUN chmod 777 /var/www/storage/app/uploads
|
||||||
|
|
||||||
CMD ["/bin/bash","/home/start.sh"]
|
CMD ["/bin/bash","/home/start.sh"]
|
||||||
13
docker-compose-nas.yml
Normal file
13
docker-compose-nas.yml
Normal 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"
|
||||||
Loading…
Reference in New Issue
Block a user