123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- apiVersion: extensions/v1beta1
- kind: Deployment
- metadata:
- annotations:
- io.rancher.container.pull_image: always
- kompose.cmd: migration-tools parse --docker-file docker-compose.yml --rancher-file
- rancher-compose.yml
- kompose.version: 1.16.0 (HEAD)
- creationTimestamp: null
- labels:
- io.kompose.service: gogs
- name: gogs
- spec:
- replicas: 0
- strategy:
- type: Recreate
- template:
- metadata:
- creationTimestamp: null
- labels:
- io.kompose.service: gogs
- spec:
- containers:
- - env:
- - name: DISABLE_REGISTRATION
- value: "true"
- - name: RUN_CROND
- value: "true"
- - name: SHOW_REGISTRATION_BUTTON
- value: "false"
- image: gogs/gogs:latest
- name: gogs
- ports:
- - containerPort: 22
- - containerPort: 3000
- resources: {}
- volumeMounts:
- - mountPath: /data
- name: gogs-claim0
- restartPolicy: Always
- volumes:
- - name: gogs-claim0
- persistentVolumeClaim:
- claimName: gogs-claim0
- status: {}
|