index : fluxbb | |
Archlinux32 customized Fluxbb installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 08:57:06 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 08:57:06 +0100 |
commit | ada3beb0a6c649bd9bfc6a87b2fe69ee8ae563f7 (patch) | |
tree | df74b326c096fad4d74b90988caed727c15847ef /docker/start |
-rwxr-xr-x | docker/start | 12 |
diff --git a/docker/start b/docker/start new file mode 100755 index 0000000..921b80f --- /dev/null +++ b/docker/start @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +pushd $(dirname $BASH_SOURCE) + +if [[ -n "$(docker-compose ps -q)" ]]; then + echo "Service already running" >&2 + exit 1 +fi + +docker-compose up --build -d +docker-compose exec db mysqladmin -uroot --wait=10 ping +docker-compose exec db mysqladmin -uroot create fluxbb |