1
0
Fork 0

bind docker port

This commit is contained in:
Sean Sube 2024-02-25 21:00:33 -06:00
parent b92ccff3df
commit ab9c18a237
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,8 @@ services:
DOCKER_NAME: "apextoaster/onnx-web" DOCKER_NAME: "apextoaster/onnx-web"
# DOCKER_TLS_CERTDIR: "/shared/docker" # DOCKER_TLS_CERTDIR: "/shared/docker"
DOCKER_TLS_VERIFY: "1" DOCKER_TLS_VERIFY: "1"
ports:
- "2376:2376"
steps: steps:
- name: build - name: build
@ -19,4 +21,6 @@ steps:
- mkdir ${HOME}/.docker - mkdir ${HOME}/.docker
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json - echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
- ../common/scripts/image-build.sh --push - ../common/scripts/image-build.sh --push
environment: *docker_env environment:
<<: *docker_env
DOCKER_HOST: tcp://docker:2376