Fix the Part-DB pathing issues.
This commit is contained in:
parent
9db947284f
commit
e7722f83fd
4 changed files with 37 additions and 48 deletions
|
|
@ -11,14 +11,9 @@ services:
|
|||
- ./db:/var/www/html/var/db
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "compose2nix.settings.sops.secrets=songsheet/database"
|
||||
- "compose2nix.settings.sops.secrets=songsheet/database/DATABASE_URL"
|
||||
image: jbtronics/part-db1:latest
|
||||
environment:
|
||||
# Put SQLite database in our mapped folder. You can configure some other kind of database here too.
|
||||
- POSTGRES_HOST=10.1.1.251
|
||||
- POSTGRES_PORT=5432
|
||||
- POSTGRES_DB=part_db_database
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?charset=utf8
|
||||
# In docker env logs will be redirected to stderr
|
||||
- APP_ENV=docker
|
||||
|
||||
|
|
@ -37,9 +32,9 @@ services:
|
|||
# The language to use serverwide as default (en, de, ru, etc.)
|
||||
- DEFAULT_LANG=en
|
||||
# The default timezone to use serverwide (e.g. Europe/Berlin)
|
||||
- DEFAULT_TIMEZONE=Europe/Berlin
|
||||
- DEFAULT_TIMEZONE=Europe/Copenhagen
|
||||
# The currency that is used inside the DB (and is assumed when no currency is set). This can not be changed later, so be sure to set it the currency used in your country
|
||||
- BASE_CURRENCY=EUR
|
||||
- BASE_CURRENCY=DKK
|
||||
# The name of this installation. This will be shown as title in the browser and in the header of the website
|
||||
- INSTANCE_NAME=Part-DB
|
||||
|
||||
|
|
@ -47,7 +42,7 @@ services:
|
|||
# This could be a potential security issue, as the user can retrieve any file the server has access to (via internet)
|
||||
- ALLOW_ATTACHMENT_DOWNLOADS=0
|
||||
# Use gravatars for user avatars, when user has no own avatar defined
|
||||
- USE_GRAVATAR=0
|
||||
- USE_GRAVATAR=1
|
||||
|
||||
# Override value if you want to show a given text on homepage.
|
||||
# When this is empty the content of config/banner.md is used as banner
|
||||
|
|
@ -55,6 +50,7 @@ services:
|
|||
|
||||
# If you use a reverse proxy in front of Part-DB, you must configure the trusted proxies IP addresses here (see reverse proxy documentation for more information):
|
||||
# - TRUSTED_PROXIES=127.0.0.0/8,::1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
- TRUSTED_PROXIES=10.1.1.250
|
||||
|
||||
# If you need to install additional composer packages (e.g., for specific mailer transports), you can specify them here:
|
||||
# The packages will be installed automatically when the container starts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue