Skip to content

Commit

Permalink
Merge pull request #13 from BlazeIsClone/develop
Browse files Browse the repository at this point in the history
remove/add: deploy manifests, docker compose
  • Loading branch information
BlazeIsClone authored Sep 25, 2024
2 parents c490a8b + f3e11e8 commit 9bd5802
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 127 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,3 @@ Build Image:
```bash
docker build --progress=plain --no-cache -t spaceops-mission-ctrl:latest -f deployments/local/Dockerfile .
```

K8s Local Commands:

```bash
minikube dashboard

kubectl apply -f deploy/local/deployment.yml

minikube service go-app-service --url
```

### Deploy Production

Application:

```bash
kubectl apply -f deploy/prod/deployment.yml \
-f deploy/prod/service.yml \
-f deploy/prod/ingress.yml
```
28 changes: 0 additions & 28 deletions deploy/local/deployment.yml

This file was deleted.

12 changes: 0 additions & 12 deletions deploy/local/service.yml

This file was deleted.

41 changes: 0 additions & 41 deletions deploy/prod/deployment.yml

This file was deleted.

13 changes: 0 additions & 13 deletions deploy/prod/ingress.yml

This file was deleted.

13 changes: 0 additions & 13 deletions deploy/prod/service.yml

This file was deleted.

11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3'
services:
my_service:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- PORT=${PORT}
- BASE_PATH=${BASE_PATH}

0 comments on commit 9bd5802

Please sign in to comment.