Skip to content

Commit

Permalink
Update docker-compose.yml.j2
Browse files Browse the repository at this point in the history
setting db service in jinja2 template
  • Loading branch information
qtrinh2 authored Sep 13, 2024
1 parent 94d6017 commit 5443ea9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ services:
db:
condition: service_healthy

{% set service = 'db' %}

db:
image: postgres:12
restart: unless-stopped
Expand Down

0 comments on commit 5443ea9

Please sign in to comment.