Skip to content

Commit

Permalink
issue #399: test with docker side-car
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Oct 18, 2024
1 parent aa5820b commit 44714d8
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions kubernetes/aks/apps/webtop/base/webtop-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,32 @@ spec:
image: linuxserver/webtop:ubuntu-kde
ports:
- containerPort: 3000
env:
- name: DOCKER_HOST
value: "tcp://localhost:2375"
envFrom:
- secretRef:
name: webtop-secrets
volumeMounts:
- name: config
mountPath: /config
- name: docker-socket
mountPath: /var/run/docker.sock
- name: docker-dind
image: docker:dind
securityContext:
privileged: true
ports:
- containerPort: 2375
args:
- "--host=tcp://0.0.0.0:2375"
volumeMounts:
- name: docker-graph-storage
mountPath: /var/lib/docker
volumes:
- name: config
persistentVolumeClaim:
claimName: webtop-config-pvc
- name: docker-socket
hostPath:
path: /var/run/docker.sock
- name: docker-graph-storage
emptyDir: {}

---
apiVersion: v1
Expand Down

0 comments on commit 44714d8

Please sign in to comment.