mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-09 17:13:45 +01:00
Add useful scripts
This commit is contained in:
parent
33b2b38308
commit
77f8a79c51
7
utils/start.sh
Executable file
7
utils/start.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Call from a docker host to build and start CDB.
|
||||
#
|
||||
|
||||
sudo docker-compose up --build -d --scale worker=2
|
11
utils/update.sh
Executable file
11
utils/update.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Call from a docker host to rebuild and update running instances of CDB.
|
||||
#
|
||||
|
||||
sudo docker-compose build app
|
||||
sudo docker-compose build worker
|
||||
|
||||
sudo docker-compose up --no-deps -d app
|
||||
sudo docker-compose up --no-deps --scale worker=2 -d worker
|
Loading…
Reference in New Issue
Block a user