-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
5,413 additions
and
3,869 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dblayer: riak | ||
redis: | ||
host: localhost | ||
port: '6379' | ||
solar_db: | ||
mode: riak | ||
host: localhost | ||
port: '8087' | ||
protocol: pbc |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ubuntu:14.04 | ||
|
||
WORKDIR / | ||
|
||
RUN apt-get update | ||
# Install pip's dependency: setuptools: | ||
RUN apt-get install -y python python-dev python-distribute python-pip | ||
RUN pip install ansible | ||
|
||
ADD bootstrap/playbooks/celery.yaml /celery.yaml | ||
ADD solar /solar | ||
ADD solard /solard | ||
ADD resources /resources | ||
ADD templates /templates | ||
ADD run.sh /run.sh | ||
|
||
|
||
RUN apt-get install -y libffi-dev libssl-dev | ||
RUN pip install riak peewee | ||
RUN pip install -U setuptools>=17.1 | ||
RUN cd /solar && python setup.py install | ||
RUN cd /solard && python setup.py install | ||
RUN ansible-playbook -v -i "localhost," -c local /celery.yaml --skip-tags slave | ||
|
||
CMD ["/run.sh"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
solar-celery: | ||
image: solarproject/solar-celery | ||
# path inside of the container should be exactly the same as outside | ||
# because solar uses absolute path to find resoruce actions files | ||
volumes: | ||
- /vagrant/.vagrant:/vagrant/.vagrant | ||
- /vagrant/solar:/solar | ||
- /vagrant/solard:/solard | ||
- /vagrant/templates:/vagrant/templates | ||
- /vagrant/resources:/vagrant/resources | ||
environment: | ||
- REDIS_HOST=10.0.0.2 | ||
- REDIS_PORT=6379 | ||
- RIAK_HOST=10.0.0.2 | ||
- RIAK_PORT=8087 | ||
# links are not used for configuration because we can rely on non-container | ||
# based datastores | ||
links: | ||
- riak | ||
- redis | ||
riak: | ||
image: tutum/riak | ||
ports: | ||
- 8087:8087 | ||
- 8098:8098 | ||
redis: | ||
image: tutum/redis | ||
ports: | ||
- 6379:6379 | ||
environment: | ||
- REDIS_PASS=**None** |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.