Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laynefyc/arm-nginx
arm nginx
https://github.com/laynefyc/arm-nginx
Last synced: 10 days ago
JSON representation
arm nginx
- Host: GitHub
- URL: https://github.com/laynefyc/arm-nginx
- Owner: laynefyc
- Created: 2016-07-01T17:33:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-01T18:49:47.000Z (over 8 years ago)
- Last Synced: 2024-10-25T22:28:56.376Z (about 2 months ago)
- Language: HTML
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## arm-nginx
This is my first arm images. I create it base on Hypriot.1. download path file
````bash
git clone [email protected]:laynefyc/arm-nginx.git
````2. start nginx
````bash
cd arm-nginx
docker run -d -it -p 80:80 \
-v `pwd`/www:/www \
-v `pwd`/config:/etc/nginx/sites-enabled \
-v `pwd`/logs:/var/log/nginx \
laynefyc/arm_nginx
````## Source url
* git url: [arm-nginx](https://github.com/laynefyc/arm-nginx/)* Dockerfile source: [arm-nginx](https://github.com/laynefyc/arm-nginx/blob/master/Dockerfile)
* Dockerfile code
````docker
FROM resin/rpi-raspbian:latest
MAINTAINER Layne FycRUN apt-get update \
&& apt-get install -y nginx \
&& apt-get -y cleanRUN ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.logEXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"]