Skip to content

Commit

Permalink
Move entrypoint to own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Apr 28, 2024
1 parent be0b2dd commit 12ad44b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ go.work

.vscode
.env
terraform-backend
/terraform-backend
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY . /go/src/github.com/nimbolus/terraform-backend

WORKDIR /go/src/github.com/nimbolus/terraform-backend

RUN GOOS=linux CGO_ENABLED=1 go build cmd/terraform-backend.go
RUN GOOS=linux CGO_ENABLED=1 go build ./cmd/terraform-backend

# start clean for final image
FROM debian:12
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Supported KMS (encryption) backends:

Run locally for development:
```sh
LOG_LEVEL=debug go run cmd/terraform-backend.go
LOG_LEVEL=debug go run ./cmd/terraform-backend
```

or use [docker-compose](./docker-compose.yml):
Expand All @@ -37,7 +37,7 @@ docker-compose up -d

### Default settings

The following table describes the default configuration, although the backend server will run with these values, it's not scalable and therefore only for testing purposes.
The following table describes the default configuration, although the backend server will run with these values, it's not scalable and therefore only for testing purposes.

| Environment Variable | Type | Default | Description |
|----------------------|--------|------------|---------------------------------------------------------------------------------------------------|
Expand Down
File renamed without changes.

0 comments on commit 12ad44b

Please sign in to comment.