Browse Source

add environment variables LICENSE-SERVER_USERNAME

master
luamas 2 years ago
parent
commit
86a85d1136
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      run.sh

+ 5
- 5
run.sh View File

@@ -2,11 +2,11 @@

source ./config.sh
docker rm -f license-server
docker build --rm=true -t luamas/license-server:latest --file Dockerfile .
docker build --rm=true -t luamas/license-server:"$version" --file Dockerfile .
docker build --rm=true -t luamas/jetbrains-license-server:latest --file Dockerfile .
docker build --rm=true -t luamas/jetbrains-license-server:"$version" --file Dockerfile .
docker run --restart=always \
-p 22508:22508 \
-e LICENSE-SERVER_USERNAME="empty" \
--name license-server -d luamas/license-server
docker push luamas/license-server
docker push luamas/license-server:"$version"
--name license-server -d luamas/jetbrains-license-server
docker push luamas/jetbrains-license-server
docker push luamas/jetbrains-license-server:"$version"

Loading…
Cancel
Save