Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
basilelt committed Jun 24, 2024
1 parent 178b46b commit 195dfc2
Show file tree
Hide file tree
Showing 9 changed files with 4,642 additions and 190 deletions.
1,713 changes: 1,713 additions & 0 deletions DB/db_dump.sql

Large diffs are not rendered by default.

684 changes: 590 additions & 94 deletions Docker-test/DB/db.sql

Large diffs are not rendered by default.

1,713 changes: 1,713 additions & 0 deletions Docker-test/DB/dumps/db_dump.sql

Large diffs are not rendered by default.

18 changes: 17 additions & 1 deletion Docker-test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,22 @@ services:
hostname: pgadmin
depends_on:
- db


# db_dump:
# image: postgres:16.3
# depends_on:
# - db
# volumes:
# - ./DB/dumps:/dumps
# environment:
# POSTGRES_DB: ${POSTGRES_DB}
# POSTGRES_USER: ${POSTGRES_USER}
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# command: >
# bash -c "export PGPASSWORD=${POSTGRES_PASSWORD} && sleep 10 && pg_dump -h db -p 5432 -d ${POSTGRES_DB} -U ${POSTGRES_USER} -s -F p -E UTF-8 -f /dumps/db_dump.sql && touch /dumps/dump.log"
# networks:
# - proxy

nats:
image: nats:2.10
volumes:
Expand Down Expand Up @@ -154,6 +169,7 @@ services:
volumes:
db:
pgadmin:
dumps:
certs:

networks:
Expand Down
684 changes: 590 additions & 94 deletions Docker/DB/db.sql

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,10 @@ This will build and start all the necessary containers for the production enviro
- Ensure that the Docker and Docker-compose are installed on your system to use these configurations.
- The project uses NATS for messaging, Postgres for the database, and Django for both the API and frontend in development. Adjustments may be necessary based on your specific requirements (as an example, you may use real certificates for the production environment).
For more information on the individual components, refer to the README files located in their respective directories.
For more information on the individual components, refer to the README files located in their respective directories.
## Architecture
![Docker Architecture](./readme_files/architecture.png "Docker Architecture Diagram")
## Database Architecture
![Database Architecture](./readme_files/architecture_db.svg "Database Architecture Diagram")
Binary file added readme_files/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions readme_files/architecture_db.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_files/pgadmin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 195dfc2

Please sign in to comment.