Skip to content
Snippets Groups Projects
Select Git revision
  • 62d147bfa758030435dc8b8d09167d9dfef32ba7
  • master default protected
2 results

odk-aggregate

  • Clone with SSH
  • Clone with HTTPS
  • David Beniamine's avatar
    David Beniamine authored
    62d147bf
    History

    ODK Docker-compose

    This is a docker-compose setup for ODK

    Install

    1. Adapt config cp .env.sample .env and edit .env in particular the DB password
    2. Build and start : docker-compose up --build -d (this step may take a while)
    3. Build the .war file : docker-compose exec front /opt/run.sh and answer questions (defaults are set according to .env
    4. Get the sql docker-compose exec front ls /usr/local/tomcat/webapps/ODK\ Aggregate/create_db_and_user.sql (you might have to adjust this path
    5. Run docker-compose exec db psql -U aggregate and paste SQL from step 4
    6. Restart the docker-compose docker-compose down; docker-compose up -d

    At this point everything should be configured, go to localhost:8080 and finish installation process.

    Default password is aggregate, username is the one you set in step 2.