Skip to content

Commit

Permalink
Added DB settings to compose
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlaz3kx committed Aug 4, 2024
1 parent 0592d7e commit d3122d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.local-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ services:
- "8000:8000"
environment:
- MANAGER_DB_HOST=postgres:5432
- MANAGER_DB_USER=scheduler
- MANAGER_DB_PASS=scheduler
- MANAGER_DB_DISABLETLS=true
depends_on:
- postgres
- migration
Expand All @@ -38,6 +41,9 @@ services:
restart: always
environment:
- RUNNER_DB_HOST=postgres:5432
- RUNNER_DB_USER=scheduler
- RUNNER_DB_PASS=scheduler
- RUNNER_DB_DISABLETLS=true
depends_on:
- postgres
- migration
Expand Down
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ services:
- "8000:8000"
environment:
- MANAGER_DB_HOST=postgres:5432
- MANAGER_DB_USER=scheduler
- MANAGER_DB_PASS=scheduler
- MANAGER_DB_DISABLETLS=true
depends_on:
- postgres
- migration
Expand All @@ -31,6 +34,9 @@ services:
restart: always
environment:
- RUNNER_DB_HOST=postgres:5432
- RUNNER_DB_USER=scheduler
- RUNNER_DB_PASS=scheduler
- RUNNER_DB_DISABLETLS=true
depends_on:
- postgres
- migration
Expand Down

0 comments on commit d3122d8

Please sign in to comment.