feat: deployment #46
@ -2,14 +2,17 @@ services:
|
|||||||
app:
|
app:
|
||||||
build:
|
build:
|
||||||
dockerfile: docker/prod/app/Dockerfile
|
dockerfile: docker/prod/app/Dockerfile
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- web-server-network
|
||||||
restart: always
|
restart: always
|
||||||
depends_on: [ "db" ]
|
depends_on: [ "db" ]
|
||||||
|
|||||||
networks:
|
|
||||||
- web-server-network
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:16.4-bookworm
|
image: postgres:16.4-bookworm
|
||||||
volumes: [ "db_data:/var/lib/postgresql/data" ]
|
volumes: [ "db_data:/var/lib/postgresql/data" ]
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: todo_baggins
|
POSTGRES_DB: todo_baggins
|
||||||
POSTGRES_USER: app
|
POSTGRES_USER: app
|
||||||
|
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