Skip to content

Instantly share code, notes, and snippets.

@lazypower
Forked from anonymous/docker-compose.yml
Created July 18, 2016 13:38
Show Gist options
  • Save lazypower/625c49fa59806d52fc2c020ae20697e6 to your computer and use it in GitHub Desktop.
Save lazypower/625c49fa59806d52fc2c020ae20697e6 to your computer and use it in GitHub Desktop.
znc:
image: lazypower/znc
volumes:
- znc_data:/znc_data
ports:
- 6699:6667
restart: always
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: znc
name: znc
spec:
replicas: 1
selector:
matchLabels:
app: znc
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: znc
spec:
containers:
- image: lazypower/znc
imagePullPolicy: ""
name: znc
ports:
- containerPort: 6667
livenessProbe:
httpGet:
path: /
port: 6667
initialDelaySeconds: 30
timeoutSeconds: 30
resources: {}
volumeMounts:
- mountPath: /znc_data
name: zncdata
readOnly: true
restartPolicy: Always
serviceAccountName: ""
volumes:
- hostPath:
path: /srv/znc_data
name: zncdata
status: {}
kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: znc-webui
spec:
rules:
- host: znc.dasapp.co
http:
paths:
- path: /
backend:
serviceName: irc-bouncer
servicePort: 6667
apiVersion: v1
kind: Service
metadata:
name: irc-bouncer
labels:
name: irc-bouncer
spec:
selector:
app: znc
ports:
-
protocol: "TCP"
port: 6667
targetPort: 6667
type: NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment