Skip to content

Commit

Permalink
Remove container_names
Browse files Browse the repository at this point in the history
  • Loading branch information
trick77 committed Jan 13, 2024
1 parent fab2b3f commit 401ad37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions observium/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ services:

mariadb:
image: mariadb:11
container_name: observium-db
restart: unless-stopped
stop_grace_period: 45s
healthcheck:
Expand Down
4 changes: 2 additions & 2 deletions observium/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ "${DEBUG_MODE,,}" == "true" ]; then
set -o xtrace
fi

db_hostname=db
db_hostname=mariadb

show_observium_info() {
echo "****************************************************"
Expand Down Expand Up @@ -49,7 +49,7 @@ init_if_required() {
}

create_config() {
export OBSERVIUM__db_host='db'
export OBSERVIUM__db_host='mariadb'
export OBSERVIUM__db_name="${DB_NAME}"
export OBSERVIUM__db_user="${DB_USER}"
export OBSERVIUM__db_pass="${DB_PASSWORD}"
Expand Down

0 comments on commit 401ad37

Please sign in to comment.