* use full path to docker_cmd config script in bash helpers
This commit is contained in:
@ -119,6 +119,14 @@ For restart `nginx` after some changes in nginx configuration, you might:
|
|||||||
|
|
||||||
`./restart-nginx.sh`
|
`./restart-nginx.sh`
|
||||||
|
|
||||||
|
### Elastic
|
||||||
|
|
||||||
|
Copy example
|
||||||
|
|
||||||
|
Launch:
|
||||||
|
|
||||||
|
`dc -f docker-compose.elastic.yml up -d elastic`
|
||||||
|
|
||||||
## Src build need DOCKER_BUILDKIT
|
## Src build need DOCKER_BUILDKIT
|
||||||
|
|
||||||
If you want build own workspace image. You need export environment variable
|
If you want build own workspace image. You need export environment variable
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. ./_docker-cmd.sh || {
|
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||||
|
|
||||||
|
. $DIR/bash/_docker-cmd.sh || {
|
||||||
echo "no docker cmd is presented" && exit 1
|
echo "no docker cmd is presented" && exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. ./_docker-cmd.sh || {
|
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||||
|
|
||||||
|
. $DIR/bash/_docker-cmd.sh || {
|
||||||
echo "no docker cmd is presented" && exit 1
|
echo "no docker cmd is presented" && exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. ./_docker-cmd.sh || {
|
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||||
|
|
||||||
|
. $DIR/bash/_docker-cmd.sh || {
|
||||||
echo "no docker cmd is presented" && exit 1
|
echo "no docker cmd is presented" && exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. ./_docker-cmd.sh || {
|
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||||
|
|
||||||
|
. $DIR/bash/_docker-cmd.sh || {
|
||||||
echo "no docker cmd is presented" && exit 1
|
echo "no docker cmd is presented" && exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. ./_docker-cmd.sh || {
|
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||||
|
|
||||||
|
. $DIR/bash/_docker-cmd.sh || {
|
||||||
echo "no docker cmd is presented" && exit 1
|
echo "no docker cmd is presented" && exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,23 +1,15 @@
|
|||||||
version: '3.6'
|
version: '3.6'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
elastic732:
|
elastic:
|
||||||
extends:
|
|
||||||
file: docker-compose.elastic.base.yml
|
|
||||||
service: elastic
|
|
||||||
build:
|
|
||||||
dockerfile: elastic732.Dockerfile
|
|
||||||
volumes:
|
|
||||||
- elastic732:/usr/share/elastic/data
|
|
||||||
elastic752:
|
|
||||||
extends:
|
extends:
|
||||||
file: docker-compose.elastic.base.yml
|
file: docker-compose.elastic.base.yml
|
||||||
service: elastic
|
service: elastic
|
||||||
|
restart: always
|
||||||
build:
|
build:
|
||||||
dockerfile: elastic752.Dockerfile
|
dockerfile: elastic752.Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- elastic752:/usr/share/elastic/data
|
- elastic:/usr/share/elastic/data
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
elastic732:
|
elastic:
|
||||||
elastic752:
|
|
||||||
|
Reference in New Issue
Block a user