2022-01-18 17:55:42 +00:00
|
|
|
#!/usr/bin/env bash
|
2016-08-01 08:09:50 +00:00
|
|
|
|
2018-01-10 09:42:11 +00:00
|
|
|
# Build changes (if necessary)
|
2022-01-18 17:55:42 +00:00
|
|
|
./run/build
|
2016-08-01 08:09:50 +00:00
|
|
|
|
2018-01-10 09:42:11 +00:00
|
|
|
# Run a container
|
2019-06-19 14:40:55 +00:00
|
|
|
docker run -p 0.0.0.0:21025:21025/tcp --env-file .env -v "$(pwd)/starbound_data:/steamcmd/starbound" --name starbound-server -it --rm hub.ici.de.com/starbound-server:latest
|
2016-08-01 08:09:50 +00:00
|
|
|
|
2018-01-10 09:42:11 +00:00
|
|
|
# Edit unit tests
|
|
|
|
#dgoss edit -p 0.0.0.0:21025:21025/tcp --env-file .env -v "$(pwd)/starbound_data:/steamcmd/starbound" --name starbound-server -d didstopia/starbound-server:latest
|
|
|
|
|
|
|
|
# Run unit tests (production)
|
|
|
|
#GOSS_WAIT_OPTS="--retry-timeout 300s --sleep 1s > /dev/null" GOSS_SLEEP="15" dgoss run -p 0.0.0.0:21025:21025/tcp --env-file .env -v "$(pwd)/starbound_data:/steamcmd/starbound" --name starbound-server -d didstopia/starbound-server
|