80fff39d03291f763c854101d22224a0e9fe80d0
[lui-solr.git] / docker / roles / dev / tasks / main.yml
1 ---
2 - name: Build the lui-solr image
3   docker_image: name=lui-solr path=/vagrant/docker/solr
4   
5 - name: Create Solr container
6   docker_container:
7     name: solr1
8     image: lui-solr
9     tty: yes
10     published_ports: 8983:8983
11     #volumes: /vagrant/conf/solr/solr-home:/opt/solr/server/solr
12     command: bash -c '/opt/solr/bin/solr start -f -z zk1:2181'
13     state: present