|
|
@ -278,10 +278,10 @@ cat << EOF > $Wdir/docker-compose.yml |
|
|
|
version: "2" |
|
|
|
|
|
|
|
services: |
|
|
|
# registry: |
|
|
|
# image: registry |
|
|
|
# ports: |
|
|
|
# - "${REGISTRY_PORT}:5000" |
|
|
|
registry: |
|
|
|
image: registry |
|
|
|
ports: |
|
|
|
- "${REGISTRY_PORT}:5000" |
|
|
|
|
|
|
|
master: |
|
|
|
image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME |
|
|
@ -666,9 +666,9 @@ if [ $COMMAND_UP -eq 1 ]; then |
|
|
|
create_dockerfile |
|
|
|
down_all |
|
|
|
clear_all |
|
|
|
#up_registry # remove for microservices |
|
|
|
up_registry # remove for microservices |
|
|
|
generate_ssh_keys |
|
|
|
#build_and_push_image # remove for microservices |
|
|
|
build_and_push_image # remove for microservices |
|
|
|
up_master |
|
|
|
up_workers |
|
|
|
|
|
|
|