bugfix docker-compose

This commit is contained in:
Leon
2022-02-24 09:49:12 +01:00
parent 247e2e2bab
commit a11f2ed24f
2 changed files with 3 additions and 1 deletions

View File

@@ -4,3 +4,5 @@ set +x
podman build ./.test -t podi
podman rm -f podi
podman run -d -p 2222:22 -p 9999:9999 -e AUTHORIZED_KEYS="$(cat ~/.ssh/*.pub)" -v $(pwd):/podi -w /home/git --name podi podi
echo docker run -d --privileged --name 2WA -p 2222:22 -p 8888:80 -v $(readlink -f ~/.ssh):/root/.ssh:ro --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro --volume=$(pwd):/etc/ansible/roles/test:ro ubuntu2004-ansible

View File

@@ -31,7 +31,7 @@ start(){
}
init_runtime(){
test -f docker-compose || {
test -f docker-compose.yml || {
generate(){
echo 'version: "3.9"'
echo 'services:'