Skip to content

yet-another-artem/multi-container-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiple Container NodeJS Application

How to use this project

To run this project you will need the following things:


First of all you should copy the project repository:

$ git clone https://github.com/An-another-Artem/multi-container-application.git

Second, run the Ansible playbook:

$ ansible-playbook -i ./ansible/ansible_inventory.yml ./ansible/ansible_server_playbook.yml

You're done!

The API routes

  • GET /todos — get all todos
  • POST /todos — create a new todo
  • GET /todos/:id — get a single todo by ID
  • PUT /todos/:id — update a single todo by ID
  • DELETE /todos/:id — delete a single todo by ID

Possible problem that you can encounter

MongoDB storage issue

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors