-
Notifications
You must be signed in to change notification settings - Fork 7
/
okteto.yml
35 lines (32 loc) · 1.25 KB
/
okteto.yml
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
name: ra-data-odata-server
# The build section defines how to build the images of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
# build:
# my-service:
# context: .
# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
# deploy:
# commands:
# - name: Deploy
# command: echo 'Replace this line with the proper 'helm' or 'kubectl' commands to deploy your development environment'
# The dependencies section defines other git repositories to be deployed as part of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#dependencies
# dependencies:
# - https://github.com/okteto/sample
# The dev section defines how to activate a development container
# More info: https://www.okteto.com/docs/reference/manifest/#dev
dev:
ra-data-odata-server:
autocreate: true
image: okteto/node:16
command: bash
workdir: /usr/src/app
sync:
- .:/usr/src/app
environment:
- HISTFILE=/usr/src/app/.bash_history
- name=$USER
volumes:
- /home/node/.vscode-server/ # persist vscode extensions
- /usr/src/app/node_modules # persist installed packages