To run this project you will need the following things:
- Docker (Installation guide)
- Docker compose plugin (Installation guide)
- Ansible (Installation guide)
- A server that runs Ubuntu Server (Ubuntu Server ISO file)
First of all you should copy the project repository:
$ git clone https://github.com/An-another-Artem/multi-container-application.gitSecond, run the Ansible playbook:
$ ansible-playbook -i ./ansible/ansible_inventory.yml ./ansible/ansible_server_playbook.ymlYou're done!
GET /todos— get all todosPOST /todos— create a new todoGET /todos/:id— get a single todo by IDPUT /todos/:id— update a single todo by IDDELETE /todos/:id— delete a single todo by ID
2025-03-13T08:10:16.819+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1741853416:819713][1:0x7ff59b82bb00], connection: __log_open_verify, 925: unsupported WiredTiger file version: this build only supports versions up to 4, and the file is version 5: WT_ERROR: non-specific WiredTiger error Raw: [1741853416:819713][1:0x7ff59b82bb00], connection: __log_open_verify, 925: unsupported WiredTiger file version: this build only supports versions up to 4, and the file is version 5: WT_ERROR: non-specific WiredTiger error
To fix it, run the Docker compose file manually and execute the following command:
Caution
This command will remove everything, including images, data, networks, etc. Use it wisely.
$ docker compose down -v