summaryrefslogtreecommitdiffstats
path: root/boot/policy_vm_init.sh
blob: ad71cf0e9674661cf961b0234083593d4fe4051b (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/policy
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
/opt/docker/docker-compose up -d