mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Add Docker documentation to the installation docs; update and create the ”Scripts To Rule Them All” scripts for easy use of the Docker Composer environment.
Fixes #2425.
This commit is contained in:
parent
b57a62b72d
commit
d145640ead
8 changed files with 172 additions and 16 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
docker_compose="docker-compose --file docker-compose.yml"
|
||||
|
||||
# Find our app dir
|
||||
appdir=$(cd $(dirname "$0")/.. && pwd)
|
||||
|
||||
|
|
@ -11,4 +13,4 @@ export VOLUME="$appdir"
|
|||
image=${DOCKER_IMAGE:=web}
|
||||
|
||||
port_publish=""; [ "${BIND_DOCKER_SERVICE_PORTS:-}" = 1 ] && port_publish="--service-ports"
|
||||
exec docker-compose run $port_publish --rm $image $cmd
|
||||
exec $docker_compose run $port_publish --rm $image $cmd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue