https://github.com/binhex/arch-nginx
Docker build script for Arch Linux base with NGINX
https://github.com/binhex/arch-nginx
Last synced: about 1 month ago
JSON representation
Docker build script for Arch Linux base with NGINX
- Host: GitHub
- URL: https://github.com/binhex/arch-nginx
- Owner: binhex
- License: gpl-3.0
- Created: 2020-05-06T11:22:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-03-11T19:01:07.000Z (3 months ago)
- Last Synced: 2026-03-11T23:57:58.410Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Application
[NGINX](https://www.nginx.com/)
## Description
NGINX is open source software for web serving, reverse proxying, caching, load
balancing, media streaming, and more. It started out as a web server designed
for maximum performance and stability. In addition to its HTTP server
capabilities, NGINX can also function as a proxy server for email (IMAP, POP3,
and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers.
## Build notes
Latest GitHub master commit.
## Usage
```bash
docker run -d \
--name= \
-v :/config \
-v /etc/localtime:/etc/localtime:ro \
-p :8080 \
-p :8443 \
-e HEALTHCHECK_COMMAND= \
-e HEALTHCHECK_ACTION= \
-e HEALTHCHECK_HOSTNAME= \
-e UMASK= \
-e PUID= \
-e PGID= \
binhex/arch-nginx
```
Please replace all user variables in the above command defined by <> with the
correct values.
## Access application
Command line only via:
```docker exec -it bash```
## Example
```bash
docker run -d \
--name=nginx \
-v /apps/docker/nginx:/config \
-v /etc/localtime:/etc/localtime:ro \
-p 8080:8080 \
-p 8443:8443 \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-nginx
```
## Notes
User ID (PUID) and Group ID (PGID) can be found by issuing the following command
for the user you want to run the container as:-
```bash
id
```
___
If you appreciate my work, then please consider buying me a beer :D
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MM5E27UX6AUU4)
[Documentation](https://github.com/binhex/documentation) | [Support forum](https://forums.unraid.net/topic/92101-support-binhex-nginx/)