Update start.sh

This commit is contained in:
chenc 2023-11-28 16:01:23 +08:00
parent a340c65a22
commit 3c86224663

View File

@ -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