mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-14 03:18:02 +02:00
Merge branch 'master' of https://github.com/alexbelgium/hassio-addons
This commit is contained in:
1
.github/paths-filter.yml
vendored
1
.github/paths-filter.yml
vendored
@@ -60,6 +60,7 @@ plex: plex/config.* # Image : yes
|
||||
plex_meta_manager: plex_meta_manager/config.* # Image : yes
|
||||
portainer: portainer/config.* # Image : yes
|
||||
portainer_agent: portainer_agent/config.* # Image : yes
|
||||
postgres: postgres/config.* # Image : yes
|
||||
prowlarr: prowlarr/config.* # Image : yes
|
||||
qbittorrent: qbittorrent/config.* # Image : yes
|
||||
radarr: radarr/config.* # Image : yes
|
||||
|
||||
@@ -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