Last active
May 3, 2021 19:43
-
-
Save chungg/4c8ebe56359b92e53f992dc111cf0f12 to your computer and use it in GitHub Desktop.
podman dev template
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
# | |
# Generation of Kubernetes YAML is still under development! | |
# | |
# Save the output of this file and use kubectl create -f to import | |
# it into Kubernetes. | |
# | |
# Created with podman-2.2.1 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: "2021-04-29T22:47:49Z" | |
labels: | |
app: dev | |
name: dev | |
spec: | |
containers: | |
- command: | |
- redis-server | |
env: | |
- name: PATH | |
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
- name: TERM | |
value: xterm | |
- name: container | |
value: podman | |
- name: REDIS_DOWNLOAD_URL | |
value: http://download.redis.io/releases/redis-6.2.2.tar.gz | |
- name: REDIS_DOWNLOAD_SHA | |
value: 7a260bb74860f1b88c3d5942bf8ba60ca59f121c6dce42d3017bed6add0b9535 | |
- name: GOSU_VERSION | |
value: "1.12" | |
- name: REDIS_VERSION | |
value: 6.2.2 | |
- name: HOSTNAME | |
value: dev | |
image: docker.io/library/redis:latest | |
name: redis | |
resources: {} | |
securityContext: | |
allowPrivilegeEscalation: true | |
capabilities: {} | |
privileged: false | |
readOnlyRootFilesystem: false | |
seLinuxOptions: {} | |
tty: true | |
workingDir: /data | |
- command: | |
- postgres | |
- -c | |
- max_connections=32 | |
- -c | |
- fsync=off | |
env: | |
- name: PATH | |
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/13/bin | |
- name: TERM | |
value: xterm | |
- name: container | |
value: podman | |
- name: PG_VERSION | |
value: 13.2-1.pgdg100+1 | |
- name: PGDATA | |
value: /var/lib/postgresql/data | |
- name: GOSU_VERSION | |
value: "1.12" | |
- name: POSTGRES_PASSWORD | |
value: podman | |
- name: LANG | |
value: en_US.utf8 | |
- name: PG_MAJOR | |
value: "13" | |
- name: HOSTNAME | |
value: dev | |
image: docker.io/library/postgres:13 | |
name: postgres | |
resources: {} | |
securityContext: | |
allowPrivilegeEscalation: true | |
capabilities: {} | |
privileged: false | |
readOnlyRootFilesystem: false | |
seLinuxOptions: {} | |
tty: true | |
workingDir: / | |
- command: | |
- mongod | |
env: | |
- name: PATH | |
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
- name: TERM | |
value: xterm | |
- name: container | |
value: podman | |
- name: GOSU_VERSION | |
value: "1.12" | |
- name: GPG_KEYS | |
value: 20691EEC35216C63CAF66CE1656408E390CFB1F5 | |
- name: MONGO_MAJOR | |
value: "4.4" | |
- name: MONGO_VERSION | |
value: 4.4.5 | |
- name: JSYAML_VERSION | |
value: 3.13.1 | |
- name: MONGO_PACKAGE | |
value: mongodb-org | |
- name: MONGO_REPO | |
value: repo.mongodb.org | |
- name: HOSTNAME | |
value: dev | |
image: docker.io/library/mongo:latest | |
name: mongo | |
resources: {} | |
securityContext: | |
allowPrivilegeEscalation: true | |
capabilities: {} | |
privileged: false | |
readOnlyRootFilesystem: false | |
seLinuxOptions: {} | |
tty: true | |
workingDir: / | |
restartPolicy: Always | |
status: {} | |
--- | |
metadata: | |
creationTimestamp: null | |
spec: {} | |
status: | |
loadBalancer: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment