mirror of
https://github.com/dyrkin/luxmed-bot.git
synced 2025-12-21 13:23:05 +01:00
Lookup for DB on localhost when running app without docker container
This commit is contained in:
@@ -5,6 +5,7 @@ services:
|
||||
environment:
|
||||
TELEGRAM_TOKEN: ${TELEGRAM_TOKEN}
|
||||
SECURITY_SECRET: ${SECURITY_SECRET}
|
||||
DB_HOST: "database"
|
||||
volumes:
|
||||
- ./log:/usr/local/luxmedbookingservice/log
|
||||
database:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: "jdbc:postgresql://database:5432/lbs"
|
||||
url: "jdbc:postgresql://${DB_HOST:localhost}:5432/lbs"
|
||||
username: "lbs"
|
||||
password: "lsb123"
|
||||
jpa:
|
||||
|
||||
Reference in New Issue
Block a user