Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thequib/nginx-docker
Custom docker webserver to be used in Kubernetes deployment testing
https://github.com/thequib/nginx-docker
docker docker-compose docker-image web webserver
Last synced: 8 days ago
JSON representation
Custom docker webserver to be used in Kubernetes deployment testing
- Host: GitHub
- URL: https://github.com/thequib/nginx-docker
- Owner: TheQuib
- License: gpl-3.0
- Created: 2022-01-20T16:06:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-25T17:23:05.000Z (over 2 years ago)
- Last Synced: 2023-03-05T12:04:47.055Z (over 1 year ago)
- Topics: docker, docker-compose, docker-image, web, webserver
- Language: HTML
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Webserver
Custom docker image used for learning custom image building, and used in my [Kubernetes Cluster Build](https://github.com/TheQuib/k3s)# What does this use?
- Docker
- Uses base image `nginx:alpine`# Prebuilt Image
You can find a prebuilt image right here on GitHub at [ghcr.io/thequib/nginx-docker:latest](http://ghcr.io/thequib/nginx-docker:latest)
- Or run `docker pull ghcr.io/thequib/nginx-docker:latest` to get it now# Build it Yourself
- Clone the repository
- Run the command `sudo docker build -t webserver:latest .`
- This will create a container on the local machine called `webserver` with the tag `latest`
- Just as if downloaded from a Docker repository such as Dockerhub
- Now that the container is built, run the command `sudo docker run -d webserver:latest`
- This will run the container is 'detached' mode, in the background
- Alternatively, the included `docker-compose.yml` file can be used if you prefer by running `sudo docker-compose up -d`