commit bda5c2655ad0f72cdf1fcb7886aedbcc75cf9127 Author: Gerardo Marx Date: Sun Jul 11 21:09:07 2021 -0500 initial commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5469046 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM nginx +MAINTAINER gmarxcc + +#enable the autoindex option +RUN sed -i 'N; s/root \/usr\/share\/nginx\/html;\n index index.html index.htm;/root \/usr\/share\/nginx\/html;\n autoindex on;/' /etc/nginx/conf.d/default.conf + +#COPY nginx.conf /etc/nginx/nginx.conf +#COPY html /usr/share/nginx/html diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..a6bdb68 --- /dev/null +++ b/Readme.md @@ -0,0 +1,6 @@ +# Readme +This itm-web use +``` +$ docker build . +``` + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a4e2331 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: '3' +services: + web: + build: . + restart: always + volumes: + - ./html:/usr/share/nginx/html:ro + ports: + - '7805:80' diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..e69de29