You can find the project here.
- Ansible
- Docker
cd $PROJECT_HOME //directory to where the project was extract/clone
export ANSIBLE_CONFIG=$(pwd)/ansible/ansible.cfg
export ANSIBLE_HOSTS=$(pwd)/ansible/hosts
ansible-galaxy install -r requirements.yml
ansible-playbook ansible/container.yml
ansible-playbook ansible/provisioning.yml
sudo docker exec -it spotify-example /bin/bash -c 'cd /srv/spotify-example/current && yarn api'
sudo docker exec -it spotify-example /bin/bash -c 'cd /srv/spotify-example/current && yarn start'