Document the use of the build variable

This commit is contained in:
Christian Mäder 2017-10-16 13:33:12 +02:00
parent ec8bc17289
commit 843342d972
No known key found for this signature in database
GPG key ID: 92FFD0A711F196BB
2 changed files with 29 additions and 2 deletions

View file

@ -4,8 +4,8 @@ services:
build:
context: .
args:
- BRANCH=${BRANCH-master}
image: ninech/netbox:${BRANCH-latest}
- BRANCH=${VERSION-master}
image: ninech/netbox:${VERSION-latest}
depends_on:
- postgres
env_file: netbox.env