Browse Source

Docker compose

master
nolim1t 5 years ago
parent
commit
e42cc6601d
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 23
      stage2/04-docker-compose/files/compose-service

23
stage2/04-docker-compose/files/compose-service

@ -0,0 +1,23 @@
#!/bin/sh
set -e
case "$1" in
start)
echo "Starting"
cd /home/umbrel
docker-compose up -d
;;
stop)
echo "Stopping docker"
cd /home/umbrel
docker-compose down
;;
status)
echo "Status"
docker ps -a
;;
*)
echo "Either 'start', 'stop', or 'status'"
;;
esac
Loading…
Cancel
Save