|
|
|
@ -10,7 +10,7 @@ case $1 in |
|
|
|
|
fi |
|
|
|
|
docker network create ceod |
|
|
|
|
for host in auth1 coffee mail phosphoric-acid; do |
|
|
|
|
if [ $host = auth1 -o $host = coffee ]; then |
|
|
|
|
if [ $host = auth1 ]; then |
|
|
|
|
image=debian:buster |
|
|
|
|
else |
|
|
|
|
image=python:3.7-buster |
|
|
|
@ -22,6 +22,8 @@ case $1 in |
|
|
|
|
--network ceod \ |
|
|
|
|
--volume "$PWD:$PWD" \ |
|
|
|
|
--workdir "$PWD" \ |
|
|
|
|
--env FLASK_APP=ceod.api \ |
|
|
|
|
--env FLASK_ENV=development \ |
|
|
|
|
$image .drone/$host-setup.sh |
|
|
|
|
done |
|
|
|
|
;; |
|
|
|
|