Skip to content

Commit

Permalink
Refactor docker compose:
Browse files Browse the repository at this point in the history
- tty for logs with colors
- volumes for reload with crtl+s.
- add version psql used in main
  • Loading branch information
fjpacheco committed Jan 11, 2024
1 parent 49354f5 commit 1be628a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/service/sql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:15
FROM postgres:16

WORKDIR /

Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ services:
condition: service_healthy
sql:
condition: service_healthy
volumes:
- ./app:/app/app
tty: true


rabbitmq:
build:
Expand Down

0 comments on commit 1be628a

Please sign in to comment.