mirror of
https://github.com/adityachandelgit/BookLore.git
synced 2026-02-18 03:07:40 +01:00
Update booklore section to use PUID/PGID environment variables and user mapping
This commit is contained in:
@@ -46,9 +46,10 @@ services:
|
||||
booklore:
|
||||
image: ghcr.io/adityachandelgit/booklore-app:latest
|
||||
container_name: booklore
|
||||
user: "${PUID}:${PGID}"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=Etc/UTC
|
||||
- DATABASE_URL=jdbc:mariadb://mariadb:3306/booklore # Only modify this if you're familiar with JDBC and your database setup
|
||||
- DATABASE_USERNAME=booklore # Must match MYSQL_USER defined in the mariadb container
|
||||
|
||||
Reference in New Issue
Block a user