Skip to content

Commit

Permalink
staged changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DuyKim committed Jun 6, 2023
1 parent 6bef954 commit da02e2a
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 16 deletions.
56 changes: 56 additions & 0 deletions .stignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
.git
# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

2 changes: 1 addition & 1 deletion k8s/ingress-srv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: ticketing.dev
- host: ticketing.duykim.cloud.okteto.net
http:
paths:
- path: /api/users/?(.*)
Expand Down
25 changes: 10 additions & 15 deletions okteto.yml → okteto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,31 @@ name: ticket-hub
# The build section defines how to build the images of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
build:

# You can use the following env vars to refer to this image in your deploy commands:
# - OKTETO_BUILD_AUTH_REGISTRY: image registry
# - OKTETO_BUILD_AUTH_REPOSITORY: image repo
# - OKTETO_BUILD_AUTH_IMAGE: image name
# - OKTETO_BUILD_AUTH_SHA: image tag sha256
auth:
context: auth
dockerfile: auth\Dockerfile
image: duykim/auth

# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
deploy:
- kubectl apply -f k8s

# 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:
# sample:
# image: okteto/dev:latest
# command: bash
# workdir: /usr/src/app
# sync:
# - .:/usr/src/app
# environment:
# - name=$USER
# forward:
# - 8080:80

dev:
auth:
image: duykim/auth
command: bash
workdir: /usr/src/app
sync:
- auth:/usr/src/app
forward:
- 8080:80

0 comments on commit da02e2a

Please sign in to comment.