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