/nginx

NGINX docker image

Primary LanguageMakefile

Version v1.0.0 NGINX v1.21.6

Conventional Commits

Docker 20.10

example workflow

NGINX docker image

NGINX docker alpine based image.

git clone ssh://git@github.com/klimby/nginx.git

cd nginx

npm install

Docker hub

Docker Hub Repository.

docker push klimby/nginx:latest

Docker compose example

  &nginx nginx:
    image: klimby/nginx:latest
    container_name: nginx-test
    hostname: *nginx
    ports: ["8080:80"]
    volumes:
      - ./app:/app // app dir
      - ./default.conf:/etc/nginx/conf.d/default.conf:ro // nginx config
    networks:
      - nginx-test