-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
45 lines (44 loc) · 892 Bytes
/
devfile.yaml
File metadata and controls
45 lines (44 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
schemaVersion: 2.3.0
metadata:
name: WeeboDevHub
language: golang
version: 1.0.0
components:
- name: tools
container:
image: ghcr.io/batleforc/weebodevimage/che-rust:main
memoryLimit: 10Gi
mountSources: true
endpoints:
- name: front
targetPort: 3000
exposure: public
protocol: http
- name: back
targetPort: 7000
exposure: public
protocol: http
env:
- name: RUST_ENV
value: 'dev-che'
- name: volume-pg
volume:
size: 5Gi
- name: postgres
container:
image: postgres:17
memoryLimit: 512Mi
env:
- name: POSTGRES_USER
value: user
- name: POSTGRES_PASSWORD
value: password
- name: POSTGRES_DB
value: database
endpoints:
- name: postgres
targetPort: 5432
exposure: none
volumeMounts:
- name: volume-pg
path: /var/lib/postgresql/data