ODK Docker-compose
This is a docker-compose setup for ODK
Install
- Adapt config
cp .env.sample .env
and edit.env
in particular the DB password - Build and start :
docker-compose up --build -d
(this step may take a while) - Build the
.war file
:docker-compose exec front /opt/run.sh
and answer questions (defaults are set according to .env - 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 - Run
docker-compose exec db psql -U aggregate
and paste SQL from step 4 - 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.