mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 01:18:19 +01:00
Merge branch 'master' of https://github.com/alexbelgium/hassio-addons
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
ARG BUILD_FROM
|
||||
ARG BUILD_VERSION
|
||||
FROM ${BUILD_FROM}
|
||||
FROM postgres:15-alpine
|
||||
|
||||
##################
|
||||
# 2 Modify Image #
|
||||
|
||||
@@ -34,6 +34,6 @@
|
||||
},
|
||||
"slug": "postgres",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "1.4",
|
||||
"version": "15.3-test2",
|
||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:5432]"
|
||||
}
|
||||
}
|
||||
|
||||
0
postgres/rootfs/entrypoint.sh
Normal file → Executable file
0
postgres/rootfs/entrypoint.sh
Normal file → Executable file
0
postgres/rootfs/etc/cont-init.d/20-folders.sh
Normal file → Executable file
0
postgres/rootfs/etc/cont-init.d/20-folders.sh
Normal file → Executable file
2
postgres/rootfs/etc/cont-init.d/99-run.sh
Normal file → Executable file
2
postgres/rootfs/etc/cont-init.d/99-run.sh
Normal file → Executable file
@@ -8,7 +8,7 @@ if [ ! -f "$CONFIG_HOME"/postgresql.conf.sample ]; then
|
||||
# Copy default config.env
|
||||
if [ -f /usr/local/share/postgresql/postgresql.conf.sample ]; then
|
||||
cp /usr/local/share/postgresql/postgresql.conf.sample "$CONFIG_HOME"/postgresql.conf
|
||||
elif [ -f /usr/share/postgresql/postgresql.conf.sample ]
|
||||
elif [ -f /usr/share/postgresql/postgresql.conf.sample ]; then
|
||||
cp /usr/share/postgresql/postgresql.conf.sample "$CONFIG_HOME"/postgresql.conf
|
||||
else
|
||||
bashio::exit.nok "Config file not found, please ask maintainer"
|
||||
|
||||
Reference in New Issue
Block a user