Skip to content

Instantly share code, notes, and snippets.

@angch
Last active August 29, 2015 14:08
Show Gist options
  • Save angch/44dd7c8ac45250aa9679 to your computer and use it in GitHub Desktop.
Save angch/44dd7c8ac45250aa9679 to your computer and use it in GitHub Desktop.
fig.yml for kagesenshi's ckan.
# Instructions (for ubuntu from scratch anyway):
# apt-get install -y apt-transport-https
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
# sudo sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
# sudo apt-get update
# sudo apt-get install -y lxc-docker
# sudo -c "curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig; chmod +x /usr/local/bin/fig"
# ### cp this fig.yml to a directory, and cd to it ###
# sudo fig up -d
# pgsql for demo only, not for production. Set it up properly with volume, etc
"db":
image: ckan/postgresql
ports:
- 5432
"solr":
image: ckan/solr
"ckan":
image: ckan/ckan
links:
- solr:solr
- db:db
ports:
- 80:80
# Change last ports to whatever, e.g. localhost:80:80 or
# my_external_ip:8080:80 etc etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment