mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
* Support 202306 fixes #997 fixes #1219 fixes #1299 fixes #1344 fixes #1370 fixes #1404 * fix PEERINGDB_SYNC_CACHE_URL
11 lines
337 B
Bash
Executable File
11 lines
337 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
PROJECT_NAME=$(basename $(git rev-parse --show-toplevel))$(basename $COMPOSE_DIR)
|
|
|
|
docker-compose -p $PROJECT_NAME -f $COMPOSE_DIR/docker-compose.yml $@
|
|
if [[ "$@" == *"up -d peeringdb"* ]]; then
|
|
./Ctl/local/auto_pdb_load_data.sh start
|
|
fi
|