File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ IFS=$'\n\t'
1111docker run \
1212-v /etc/ssl/certs:/etc/ssl/certs:ro \
1313--network host \
14- --env MC_HOST_local=" https://${S3_ACCESS_KEY} :${S3_SECRET_KEY} @${S3_ENDPOINT } " \
15- minio/mc:RELEASE.2023-06-19T19-31-19Z mb --ignore-existing local/" $1 "
14+ --env MC_HOST_local=" https://${S3_ACCESS_KEY} :${S3_SECRET_KEY} @${STORAGE_DOMAIN } " \
15+ minio/mc:RELEASE.2023-06-19T19-31-19Z mb --insecure -- ignore-existing local/" $1 "
Original file line number Diff line number Diff line change 2424.PHONY : up-local
2525up-local : .init .env ${TEMP_COMPOSE}-local # # Deploys registry stack
2626 @$(create-s3-bucket )
27- docker stack deploy --with-registry-auth --prune --compose-file ${TEMP_COMPOSE} ${STACK_NAME}
27+ docker stack deploy --with-registry-auth --prune --compose-file ${TEMP_COMPOSE} -local ${STACK_NAME}
2828
2929.PHONY : up-letsencrypt-http # # Deploys registry stack using let's encrypt http challenge
3030up-letsencrypt-http : .init .env ${TEMP_COMPOSE}-letsencrypt-http
@@ -48,8 +48,6 @@ up-master: up-dalco
4848.PHONY : up-public # # Deploys registry on public cluster
4949up-public : up-dalco
5050
51- .PHONY : up-local # # Deploys registry on local deployment
52- up-local : up
5351
5452# Helpers -------------------------------------------------
5553
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ REGISTRY_S3_ACCESS_KEY=${REGISTRY_S3_ACCESS_KEY}
1010REGISTRY_S3_SECRET_KEY = ${ REGISTRY_S3_SECRET_KEY }
1111S3_ACCESS_KEY = ${ REGISTRY_S3_ACCESS_KEY }
1212S3_SECRET_KEY = ${ REGISTRY_S3_SECRET_KEY }
13- S3_ENDPOINT = ${ S3_ENDPOINT }
13+ STORAGE_DOMAIN = ${ STORAGE_DOMAIN }
1414S3_BUCKET = ${ REGISTRY_DOMAIN }
1515REGISTRY_S3_BUCKET = ${ REGISTRY_S3_BUCKET }
1616REGISTRY_S3_ENDPOINT = ${ REGISTRY_S3_ENDPOINT }
You can’t perform that action at this time.
0 commit comments