-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbunnyshell-template.yaml
More file actions
52 lines (52 loc) · 1.44 KB
/
bunnyshell-template.yaml
File metadata and controls
52 lines (52 loc) · 1.44 KB
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
46
47
48
49
50
51
52
kind: Environment
name: ZeroMasterEnv
type: primary
urlHandle: z5773y
components:
-
kind: Application
name: graphapi
gitRepo: 'https://github.com/ndrohith09/Zerobase.git'
gitBranch: main
gitApplicationPath: app-path
dockerCompose:
build:
context: ./app-path
dockerfile: Dockerfile
environment:
DATABASE_URL: 'postgresql://postgres:postgres@pgdb:5432/postgres'
PG_DATABASE: postgres
PG_HOST: pgdb
PG_PASSWORD: postgres
PG_PORT: '5432'
PG_USER: postgres
ports:
- '8000:8000'
hosts:
-
hostname: 'graphapi-{{ env.base_domain }}'
path: /
servicePort: 8000
-
kind: Database
name: pgdb
gitRepo: 'https://github.com/ndrohith09/Zerobase.git'
gitBranch: main
dockerCompose:
environment:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
image: 'postgres:15.2-alpine3.17'
ports:
- '5432:5432'
volumes:
-
name: postgres-data
mount: /var/lib/postgresql/data
subPath: ''
volumes:
-
name: postgres-data
size: 10Mi
type: disk