Skip to content

jbfink/docker-atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Artefactual's AtoM, dockerized!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages