mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-08-14 23:56:53 +00:00
Fixed the variable for the database host
This commit is contained in:
parent
c8ef39e3cb
commit
5cdf13e1bc
2 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ FEED_RETENTION=30
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
POSTGRES_DB=piped
|
POSTGRES_DB=piped
|
||||||
|
POSTGRES_HOST=postgres
|
||||||
POSTGRES_USER=piped
|
POSTGRES_USER=piped
|
||||||
POSTGRES_PASSWORD=changeme
|
POSTGRES_PASSWORD=changeme
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/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.username: ${POSTGRES_USER}" >> /app/config.properties
|
||||||
echo "hibernate.connection.password: ${POSTGRES_PASSWORD}" >> /app/config.properties
|
echo "hibernate.connection.password: ${POSTGRES_PASSWORD}" >> /app/config.properties
|
||||||
echo "hibernate.connection.driver_class: org.postgresql.Driver" >> /app/config.properties
|
echo "hibernate.connection.driver_class: org.postgresql.Driver" >> /app/config.properties
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue