feat: deployment #46

Merged
matous-volf merged 11 commits from feat/deployment into main 2024-09-13 10:42:20 +00:00
Showing only changes of commit cccfc9671b - Show all commits

View File

@ -5,6 +5,8 @@ services:
restart: always
ports: [ "8000:8000" ]
depends_on: [ "db" ]
networks:
- web-server-network
coderabbitai[bot] commented 2024-09-13 09:25:52 +00:00 (Migrated from github.com)
Review

Minor formatting issues detected by static analysis.

The static analysis tool flagged extra spaces inside the brackets on lines 9 and 13. While this does not affect the functionality, it's recommended to remove the extra spaces for consistency and readability.

Apply this diff to fix the formatting issues:

-    depends_on: [ "db" ]
+    depends_on: ["db"]

-    volumes: [ "db_data:/var/lib/postgresql/data" ]
+    volumes: ["db_data:/var/lib/postgresql/data"]

Also applies to: 13-13

Tools
yamllint

[error] 9-9: too many spaces inside brackets

(brackets)


[error] 9-9: too many spaces inside brackets

(brackets)

**Minor formatting issues detected by static analysis.** The static analysis tool flagged extra spaces inside the brackets on lines 9 and 13. While this does not affect the functionality, it's recommended to remove the extra spaces for consistency and readability. Apply this diff to fix the formatting issues: ```diff - depends_on: [ "db" ] + depends_on: ["db"] - volumes: [ "db_data:/var/lib/postgresql/data" ] + volumes: ["db_data:/var/lib/postgresql/data"] ``` Also applies to: 13-13 <details> <summary>Tools</summary> <details> <summary>yamllint</summary><blockquote> [error] 9-9: too many spaces inside brackets (brackets) --- [error] 9-9: too many spaces inside brackets (brackets) </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit -->
db:
image: postgres:16.4-bookworm
@ -18,3 +20,7 @@ services:
volumes:
db_data:
networks:
web-server-network:
external: true