summaryrefslogtreecommitdiffstats
path: root/boot/sdnc_vm_init.sh
blob: a642a530b3f31fad51f69f840c5defbc0f7ffabc (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)

cd /opt/sdnc
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
/opt/docker/docker-compose up -d