Last active
May 25, 2017 01:04
-
-
Save neowinx/f3a380ee4846da1d0617b6dbe9d2c0d0 to your computer and use it in GitHub Desktop.
Hospitalrun-server install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install -y git docker vim | |
curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose | |
git clone https://github.com/HospitalRun/hospitalrun-server.git | |
cd hospitalrun-server | |
echo "Ingrese el dominio a configurar:" | |
read DOM | |
sed -i "s/DOMAIN_NAME:.*/DOMAIN_NAME: $DOM/g" docker-compose.yml | |
systemctl start docker | |
systemctl enable docker | |
mkdir -p data/elasticsearch | |
chown -R 1000 data/elasticsearch | |
docker-compose up --build -d couchdb | |
docker-compose up --build -d elasticsearch | |
cd | |
git clone https://github.com/HospitalRun/hospitalrun-frontend.git | |
cd hospitalrun-frontend | |
docker build -t hospitalrun-frontend . | |
echo "finalizado" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment