feat: deployment #46
@ -5,6 +5,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports: [ "8000:8000" ]
|
ports: [ "8000:8000" ]
|
||||||
depends_on: [ "db" ]
|
depends_on: [ "db" ]
|
||||||
|
networks:
|
||||||
|
- web-server-network
|
||||||
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:16.4-bookworm
|
image: postgres:16.4-bookworm
|
||||||
@ -18,3 +20,7 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
web-server-network:
|
||||||
|
external: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user
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:
Also applies to: 13-13
Tools
yamllint