Skip to content

Commit

Permalink
add dev dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Shu Kutsuzawa committed Nov 12, 2020
1 parent 8aa12a0 commit ee1d215
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ RUN go build -o /assets/terraform-registry
FROM alpine:edge
RUN apk add --no-cache bash tzdata ca-certificates unzip zip gzip tar git
COPY --from=builder /assets/terraform-registry .
COPY --from=builder /src/testdata/config.yaml /testdata/config.yaml
RUN chmod +x ./terraform-registry
CMD [ "./terraform-registry"]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ TBD.

After the implementation of the configuration file is complete, start the terraform registry with the following command.

**`terraform` allows only `https` as a registry schema.**

#### Using binary

```bash
Expand Down
24 changes: 24 additions & 0 deletions dev/waypoint.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
project = "terraform-registry"

app "api" {
path = "../"

labels = {
"service" = "terraform-registry",
"env" = "dev"
}

build {
use "docker" {
dockerfile = "Dockerfile"
}
}

deploy {
use "docker" {
static_environment = {
CONFIG_FILE="/testdata/config.yaml"
}
}
}
}

0 comments on commit ee1d215

Please sign in to comment.