More on clixon base container on Alpine
This commit is contained in:
parent
973e5d7507
commit
f02310dcef
7 changed files with 62 additions and 13 deletions
|
|
@ -1,13 +1,10 @@
|
|||
#!/bin/bash
|
||||
# Build grideye containers, start all containers, setup networking
|
||||
# Usage: ./startup.sh
|
||||
# Debug: DBG=1 ./startup.sh
|
||||
# See also cleanup.sh
|
||||
|
||||
>&2 echo "Running script: $0"
|
||||
|
||||
pwd
|
||||
|
||||
# Error function
|
||||
# usage: err $msg
|
||||
err(){
|
||||
|
|
@ -53,7 +50,6 @@ EOF
|
|||
CONFIG=${CONFIG:-$CONFIG0}
|
||||
|
||||
# Start clixon-example backend
|
||||
# -p 4535 to access via cli from host
|
||||
>&2 echo -n "Starting Backend..."
|
||||
sudo docker run -p $PORT:80 --name clixon-system --rm -e DBG=$DBG -e CONFIG="$CONFIG" -e STORE="$STORE" -td clixon/clixon-system || err "Error starting clixon-system"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue