initial commit
This commit is contained in:
47
lp/mongodb/mongo-express.yaml
Executable file
47
lp/mongodb/mongo-express.yaml
Executable file
@@ -0,0 +1,47 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mongodb-express
|
||||
namespace: mongodb
|
||||
labels:
|
||||
app: mongo-express
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mongo-express
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: mongo-express
|
||||
spec:
|
||||
containers:
|
||||
- name: mongo-express
|
||||
image: mongo-express
|
||||
ports:
|
||||
- containerPort: 8081
|
||||
env:
|
||||
- name: ME_CONFIG_OPTIONS_EDITORTHEME
|
||||
value: "ambiance"
|
||||
- name: ME_CONFIG_MONGODB_SERVER
|
||||
value: mongodb
|
||||
- name: ME_CONFIG_BASICAUTH_USERNAME
|
||||
value: "admin"
|
||||
- name: ME_CONFIG_BASICAUTH_PASSWORD
|
||||
value: "Mongodb01"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mongo-express
|
||||
namespace: mongodb
|
||||
labels:
|
||||
name: mongo-express
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 8081
|
||||
name: http
|
||||
selector:
|
||||
app: mongo-express
|
||||
|
||||
Reference in New Issue
Block a user