Added .env files to stacks
This commit is contained in:
4
start.sh
4
start.sh
@@ -3,4 +3,6 @@
|
||||
# Copy this file to /usr/sbin/start to enable easy startup
|
||||
# cp start.sh /usr/sbin/start
|
||||
|
||||
docker stack deploy -c compose.yml ${PWD##*/}
|
||||
#docker stack deploy -c compose.yml ${PWD##*/}
|
||||
|
||||
env $(grep -v '^#' ${PWD}/.env | sed 's/#.*//' | xargs) docker stack deploy -c compose.yml ${PWD##*/}
|
||||
|
||||
Reference in New Issue
Block a user