-
-
Save lazypower/625c49fa59806d52fc2c020ae20697e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
znc: | |
image: lazypower/znc | |
volumes: | |
- znc_data:/znc_data | |
ports: | |
- 6699:6667 | |
restart: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Ingress | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: znc-webui | |
spec: | |
rules: | |
- host: znc.dasapp.co | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: irc-bouncer | |
servicePort: 6667 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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