Update start.sh
This commit is contained in:
parent
a340c65a22
commit
3c86224663
2
start.sh
2
start.sh
@ -85,7 +85,7 @@ if [ ! -d "$docker_path" ]; then
|
||||
fi
|
||||
cd /data/aix-docker
|
||||
|
||||
yaml_file=$(find "$(pwd)" -type f -name "*.yaml" -o -name "*.yml" | head -n 1)
|
||||
yaml_file=$(find "$(pwd)" -type f -name "docker-compose-*.yaml" | head -n 1)
|
||||
if [ -n "$yaml_file" ]; then
|
||||
if [ -z "$AIX_DOCKER_COMPOSER_FILE" ]; then
|
||||
echo -e "export AIX_DOCKER_COMPOSER_FILE=${yaml_file}" >> ~/.bashrc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user