* 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`
|
||||
|
||||
### Elastic
|
||||
|
||||
Copy example
|
||||
|
||||
Launch:
|
||||
|
||||
`dc -f docker-compose.elastic.yml up -d elastic`
|
||||
|
||||
## Src build need DOCKER_BUILDKIT
|
||||
|
||||
If you want build own workspace image. You need export environment variable
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
. ./_docker-cmd.sh || {
|
||||
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
|
||||
. $DIR/bash/_docker-cmd.sh || {
|
||||
echo "no docker cmd is presented" && exit 1
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
. ./_docker-cmd.sh || {
|
||||
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
|
||||
. $DIR/bash/_docker-cmd.sh || {
|
||||
echo "no docker cmd is presented" && exit 1
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
. ./_docker-cmd.sh || {
|
||||
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
|
||||
. $DIR/bash/_docker-cmd.sh || {
|
||||
echo "no docker cmd is presented" && exit 1
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
. ./_docker-cmd.sh || {
|
||||
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
|
||||
. $DIR/bash/_docker-cmd.sh || {
|
||||
echo "no docker cmd is presented" && exit 1
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
. ./_docker-cmd.sh || {
|
||||
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
|
||||
. $DIR/bash/_docker-cmd.sh || {
|
||||
echo "no docker cmd is presented" && exit 1
|
||||
}
|
||||
|
||||
|
@ -1,23 +1,15 @@
|
||||
version: '3.6'
|
||||
|
||||
services:
|
||||
elastic732:
|
||||
extends:
|
||||
file: docker-compose.elastic.base.yml
|
||||
service: elastic
|
||||
build:
|
||||
dockerfile: elastic732.Dockerfile
|
||||
volumes:
|
||||
- elastic732:/usr/share/elastic/data
|
||||
elastic752:
|
||||
elastic:
|
||||
extends:
|
||||
file: docker-compose.elastic.base.yml
|
||||
service: elastic
|
||||
restart: always
|
||||
build:
|
||||
dockerfile: elastic752.Dockerfile
|
||||
volumes:
|
||||
- elastic752:/usr/share/elastic/data
|
||||
- elastic:/usr/share/elastic/data
|
||||
|
||||
volumes:
|
||||
elastic732:
|
||||
elastic752:
|
||||
elastic:
|
||||
|
Reference in New Issue
Block a user