bind docker port
This commit is contained in:
parent
b92ccff3df
commit
ab9c18a237
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue