Fixed the variable for the database host
This commit is contained in:
parent
c8ef39e3cb
commit
5cdf13e1bc
|
@ -43,6 +43,7 @@ FEED_RETENTION=30
|
|||
###########################
|
||||
|
||||
POSTGRES_DB=piped
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_USER=piped
|
||||
POSTGRES_PASSWORD=changeme
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "hibernate.connection.url: jdbc:postgresql://${POSTGRES_DB}:5432/piped" > /app/config.properties
|
||||
echo "hibernate.connection.url: jdbc:postgresql://${POSTGRES_HOST}:5432/piped" > /app/config.properties
|
||||
echo "hibernate.connection.username: ${POSTGRES_USER}" >> /app/config.properties
|
||||
echo "hibernate.connection.password: ${POSTGRES_PASSWORD}" >> /app/config.properties
|
||||
echo "hibernate.connection.driver_class: org.postgresql.Driver" >> /app/config.properties
|
||||
|
|
Loading…
Reference in New Issue