Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/docker/start
blob: 921b80f1922717b0a4bb4661e76bcc296ee0bb80 (plain)
1
2
3
4
5
6
7
8
9
10
11
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