IMPORTANT: Have docker installed! THIS VERSION CURRENTLY ONLY WORKS WITH DOCKER, NOT WITH PODMAN FOR TESTING ON LOCAL MACHINES
- Log files will be mounted at qiita_logs on your local machine in this repo directory. Otherwise, change the file path to your desired path in the compose file as well as in the qiita, nginx and supervisord conf.
- Clone repository
- Move into Image Folder cd Images/qiita
- Build docker image docker build . -f qiita/Dockerfile -t local-qiita
- Build the nginx Image the same way as the qiita image, only in the nginx folder, using the image tag local-nginx_qiita.
- Move to folder containing compose file cd ../..
- Copy the qiita_db.env.exampleand theqiita.env.examplefiles, configure them to your needs, and delete the.examplefrom the file names.
- Run docker compose docker compose up qiita-db redis nginx qiita
- Open http://localhost:8383
- To stop: Run docker compose down qiita nginx qiita-db redis- Use docker compose down qiita nginx qiita-db --volumesif you wish to remove all associated volumes as well.
 
- Use 
Extras:
- If you want to remove a specific volume docker volume rm <volume name>
- If you want to access a container docker psto fetch the ID anddocker exec -it <ID> bash
- Clone repository
- Run docker compose up keycloak keycloakdb
- Open http://localhost:8080, login admin pw admin
- Configure Qiita as a service, create a user
- Edit config_qiita_oidc.cfgto fit your local Keycloak configuration, remove # from necessary oidc block.
- Open a new terminal, move into Image Folder cd Images/qiita
- Build docker image for qiita and nginx according to steps 3 and 4 from the instructions above.
- Move to folder containing compose file cd ../..
- Copy the qiita_db.env.exampleand theqiita.env.examplefiles, configure them to your needs, and delete the.examplefrom the file names.
- Run docker compose docker compose up qiita qiita-db redis nginx
- Open http://localhost:8383
- Perform all the steps listed in the keycloak instructions until you arrive at step 10
- Check the amount of replicas you desire for your run in the compose file.
- Run docker compose with docker compose up qiita qiita-db redis qiita_worker nginx
- Open http://localhost:8383