This commit is contained in:
Alexandre
2023-05-27 20:51:29 +02:00
6 changed files with 5 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
ARG BUILD_FROM
ARG BUILD_VERSION
FROM ${BUILD_FROM}
FROM postgres:15-alpine
##################
# 2 Modify Image #

View File

@@ -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
View File

0
postgres/rootfs/etc/cont-init.d/20-folders.sh Normal file → Executable file
View File

2
postgres/rootfs/etc/cont-init.d/99-run.sh Normal file → Executable file
View 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"