Sign inSign up

sfreydin/nginx

By sfreydin

Updated about 6 years ago

Image
0

10K+

sfreydin/nginx repository overview

Installed additional packages (wget curl iputils-ping telnet net-tools procps vim mc nano) for debug different services.

Env var: TEXT=foobar - this text will be stored in /index.html. simple curl http://example.com/ will show this text.

Example usage:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-v1
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nginx
      version: v1
  template:
    metadata:
      labels:
        app: nginx
        version: v1
    spec:
      containers:
      - image: sfreydin/nginx
        imagePullPolicy: Always
        env:
        - name: TEXT
          value: "v1-v1-v1-v1"
        name: nginx
        ports:
        - containerPort: 80

Tag summary

Content type

Image

Digest

Size

105.4 MB

Last updated

about 6 years ago

docker pull sfreydin/nginx