apiVersion: v1
kind: ReplicationController
metadata:
  name: ${id}
spec:
  replicas: 1
  template:
    metadata:
      labels:
        name: shyft-block-frontend
        type: control
        shyft-app: block-explorer-frontend
    spec:
      containers:
        - name: nginx
          image: '${docker_reg}/${project_id}/${id}:latest'
          imagePullPolicy: Always
          ports:
            - name: web-http-ui
              containerPort: 80
            - name: web-http-api
              containerPort: 8080
