Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing container name and script to kubefirst #173

Merged
merged 1 commit into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ gitlab.subdomain.example.com
We run everything on isolation with Docker, for that, start the container with:

```bash
docker-compose up kubefirst-dev
docker-compose up kubefirst
```

## Initialization
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ version: "3"

services:

kubefirst-dev:
kubefirst:
platform: linux/amd64
build:
context: .
dockerfile: ./build/Dockerfile
container_name: kubefirst-dev
container_name: kubefirst
env_file:
- .env
environment:
Expand All @@ -20,4 +20,4 @@ services:
- ./:/opt/kubefirst
# AWS credentials are strictly used to provision the Kubefirst in your AWS account
- $HOME/.aws:/home/developer/.aws
command: sh -c "./scripts/kubefirst-dev.sh"
command: sh -c "./scripts/kubefirst.sh"
4 changes: 2 additions & 2 deletions scripts/kubefirst-dev.sh → scripts/kubefirst.sh
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo "----------------------------------------------------------------------"
echo "- kubefirst-dev container is ready! -"
echo "- Attach to docker container: \"docker exec -it kubefirst-dev bash\" -"
echo "- kubefirst container is ready! -"
echo "- Attach to docker container: \"docker exec -it kubefirst bash\" -"
echo "----------------------------------------------------------------------"
sleep infinity