Skip to content

Commit

Permalink
fix: added registry config file (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding authored Jun 16, 2023
1 parent 2ca8cac commit 563abf7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ADD terraform/ /terraform
ADD packs/ /packs
ADD static/defaults/htpasswd-basic /auth/htpasswd-basic
ADD static/defaults/ngrok.yml /auth/ngrok.yml
ADD static/defaults/registry-config.yml etc/spectro/config.yml

ARG PALETTE_CLI_VERSION
ARG PALETTE_EDGE_VERSION
Expand All @@ -23,6 +24,7 @@ ENV REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd-basic
COPY --from=server /registry /usr/local/bin/

RUN adduser -H -u 1002 -D appuser appuser && \
apk update && \
apk add --no-cache bash curl git terraform openssl jq bind-tools wget ca-certificates nano

RUN wget https://software.spectrocloud.com/spectro-registry/v$PALETTE_CLI_VERSION/cli/linux/spectro && \
Expand Down
2 changes: 1 addition & 1 deletion docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ If you are wanting to build the docker image locally you must provide the the bu


```shell
make build-docker VERSION=3.3.0 EDGE=3.4.3
make build-docker VERSION=3.4.0 EDGE=3.4.3
```

OR
Expand Down
6 changes: 6 additions & 0 deletions static/defaults/registry-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 0.1
log:
level: debug
storage: inmemory
http:
addr: :5000

0 comments on commit 563abf7

Please sign in to comment.