Use new docker compose
syntax, instead of docker-compose
This commit is contained in:
parent
1690ebdc91
commit
8dbf4d95ce
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker-compose exec -T -w /srv/ arkhamdb php bin/console app:import:std ./arkhamdb-json-data/
|
docker compose exec -T -w /srv/ arkhamdb php bin/console app:import:std ./arkhamdb-json-data/
|
||||||
|
6
setup.sh
6
setup.sh
@ -3,10 +3,10 @@ set -e
|
|||||||
|
|
||||||
git clone https://github.com/ad1217/arkhamdb-json-data
|
git clone https://github.com/ad1217/arkhamdb-json-data
|
||||||
|
|
||||||
docker-compose up -d
|
docker compose up -d
|
||||||
|
|
||||||
echo "waiting for a bit to allow database to start..."
|
echo "waiting for a bit to allow database to start..."
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
docker-compose exec -T -w /srv/ arkhamdb php bin/console doctrine:schema:create
|
docker compose exec -T -w /srv/ arkhamdb php bin/console doctrine:schema:create
|
||||||
docker-compose exec -T -w /srv/ arkhamdb php bin/console app:import:std ./arkhamdb-json-data/
|
docker compose exec -T -w /srv/ arkhamdb php bin/console app:import:std ./arkhamdb-json-data/
|
||||||
|
Loading…
Reference in New Issue
Block a user