env-docker/bin/start.sh

19 lines
313 B
Bash
Raw Normal View History

2022-08-06 07:52:11 -05:00
#!/bin/bash
# 2022-08-05 Hyperling
# Start all containers.
# usage: start.sh
source /opt/Docker/source.env
cd $DOCKER_HOME/Config
for dir in `ls`; do
[ -d $dir ] && cd $dir || continue
pwd
2022-10-05 02:38:03 -05:00
[ -e Dockerfile ] && docker compose build
2022-08-06 07:52:11 -05:00
[ -e docker-compose.yml ] && docker compose up -d
cd ..
done
exit 0