starbound-server/docker_run.sh

14 lines
701 B
Bash
Raw Permalink Normal View History

2022-01-18 17:55:42 +00:00
#!/usr/bin/env bash
2016-08-01 08:09:50 +00:00
# Build changes (if necessary)
2022-01-18 17:55:42 +00:00
./run/build
2016-08-01 08:09:50 +00:00
# Run a container
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
# 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