Use new docker compose syntax, instead of docker-compose

This commit is contained in:
Adam Goldsmith 2023-04-22 22:03:36 -04:00
parent 1690ebdc91
commit 8dbf4d95ce
2 changed files with 4 additions and 4 deletions

View File

@ -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/

View File

@ -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/