Create network if not already exist

This commit is contained in:
Navratan Lal Gupta 2022-07-18 18:08:33 +05:30 committed by GitHub
parent 5460db582e
commit a1927d6ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
pre-deploy.sh Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker network ls | grep -i mynetwork || docker network create mynetwork # Create network if not already exist