Rename bookstack_db to bookstack-db for naming consistency
It was the only underscore-separated service name across all 38 apps; every other helper uses a hyphen (nextcloud-db, matrix-postgres, owncloud-mariadb, gitea-cache, mastodon-redis). Beyond consistency this closes a naming collision by construction. Instance slugs are <type>_<id> and may only contain [a-z0-9_] — the underscore is forced there, because app configs are SOURCED and the uppercased slug becomes part of CFG_<SLUG>_* variable names, which a hyphen would make invalid shell identifiers. So a hyphenated helper name is one no slug can ever produce: bookstack_home-db is unreachable, where bookstack_home_db was a name an instance literally called "home_db" could also generate. The four installed Bookstack apps were removed and rebuilt on the new template (no data worth keeping, per the maintainer). All four are back up and serving 200 on the LAN, and their port rows join correctly to the renamed services. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
64344bc5dc
commit
e9bbe44601
@ -12,7 +12,7 @@ services:
|
||||
- TZ=TIMEZONE_DATA #LIBREPORTAL|TIMEZONE_TAG|TIMEZONE_DATA
|
||||
- APP_URL=APP_URL_DATA #LIBREPORTAL|APP_URL_TAG|APP_URL_DATA
|
||||
- APP_KEY=BOOKSTACK_APP_KEY_1_DATA #LIBREPORTAL|BOOKSTACK_APP_KEY_1_TAG|BOOKSTACK_APP_KEY_1_DATA
|
||||
- DB_HOST=bookstack_db
|
||||
- DB_HOST=bookstack-db
|
||||
- DB_PORT=3306
|
||||
- DB_USERNAME=bookstack
|
||||
- DB_PASSWORD=BOOKSTACK_DB_PASSWORD_1_DATA #LIBREPORTAL|BOOKSTACK_DB_PASSWORD_1_TAG|BOOKSTACK_DB_PASSWORD_1_DATA
|
||||
@ -26,13 +26,13 @@ services:
|
||||
# GLUETUN_OFF_END
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- bookstack_db
|
||||
- bookstack-db
|
||||
healthcheck:
|
||||
disable: HEALTHCHECK_DATA #LIBREPORTAL|HEALTHCHECK_TAG|HEALTHCHECK_DATA
|
||||
labels:
|
||||
libreportal.category: "CATEGORY_DATA" #LIBREPORTAL|CATEGORY_TAG|CATEGORY_DATA
|
||||
libreportal.title: "TITLE_DATA" #LIBREPORTAL|TITLE_TAG|TITLE_DATA
|
||||
libreportal.backup.db: "mariadb:bookstack_db:db:"
|
||||
libreportal.backup.db: "mariadb:bookstack-db:db:"
|
||||
libreportal.backup.files: "bookstack:/config:data"
|
||||
traefik.enable: TRAEFIK_ENABLE_DATA #LIBREPORTAL|TRAEFIK_ENABLE_TAG|TRAEFIK_ENABLE_DATA
|
||||
# TRAEFIK_PORT_1_BEGIN
|
||||
@ -53,9 +53,9 @@ services:
|
||||
# network_mode: "container:gluetun-service"
|
||||
# GLUETUN_ON_END
|
||||
|
||||
bookstack_db: #LIBREPORTAL|SERVICE_TAG_2|bookstack_db
|
||||
bookstack-db: #LIBREPORTAL|SERVICE_TAG_2|bookstack-db
|
||||
image: lscr.io/linuxserver/mariadb
|
||||
container_name: bookstack_db
|
||||
container_name: bookstack-db
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user