Giter Site home page Giter Site logo

docker-atom's Introduction

docker-atom

This is a Docker Compose recipe for Artefactual's Access To Memory software.

Note that I've only tested this on 64bit native Linux using Docker directly, so if you're using boot2docker or a VM things might be different.

To use:

  1. Clone this repo.
  2. Install Docker and Docker Compose
  3. in the repo directory, run docker-compose up
  4. Watch things build! Fun!
  5. Wait a titch after everything's finished building. A few seconds should do it.
  6. Visit port 8000 in whatever machine you've run docker on, e.g., http://localhost:8000.
  7. Fill in the web config fields! For the database portion, it's atom for the database, atom for the user, worstpass for the password. Be sure to go to advanced config and change your server from localhost to db. For Elasticsearch, the server name is es.
  8. It'll take around a minute for AtoM to shake itself out.
  9. Fill in your site information, go to your new site.
  10. Note that there is a bug with php5-fpm - after your new site comes up, the "Browse By" links on the left may be nonfunctional -- you may get 500 errors. To fix that, run the following line in a new shell or terminal window:

docker exec dockeratom_nginx_1 service php5-fpm stop

Note that the container name (dockeratom_nginx_1) might be different in your setup. Run docker ps to figure out what the name of your nginx container is. Also, this does stop FPM but supervisord will immediately start FPM again, so don't be put off by the "stop" there in the service command.

Share and enjoy!

Note: This is meant for development and testing purposes only. Don't try to run AtoM in production with Docker Compose.

If you dig into the directories and change things (like the atom database password or user) be sure to execute docker-compose rm followed by docker-compose build before you do another docker-compose up

Unless otherwise indicated, anything written by jbfink is in the Public Domain (see UNLICENSE). Software that I may incorporate (e.g. AtoM) is licensed seperately.

docker-atom's People

Contributors

jbfink avatar

Watchers

James Cloos avatar Daejin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.