mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Define some common options in the example docker-compose.yaml file
This commit is contained in:
parent
a8fe635cf5
commit
3d5bc4e514
1 changed files with 24 additions and 0 deletions
|
@ -17,3 +17,27 @@ services:
|
||||||
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
|
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
|
||||||
# In docker env logs will be redirected to stderr
|
# In docker env logs will be redirected to stderr
|
||||||
- APP_ENV=docker
|
- APP_ENV=docker
|
||||||
|
|
||||||
|
# You can configure Part-DB using environment variables
|
||||||
|
# Below you can find the most essential ones predefined
|
||||||
|
# However you can add add any other environment configuration you want here
|
||||||
|
# See .env file for all available options or https://github.com/Part-DB/Part-DB-symfony/wiki/Configuration
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Allow users to download attachments to the server by providing an URL
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Override value if you want to show to show a given text on homepage.
|
||||||
|
# When this is empty the content of config/banner.md is used as banner
|
||||||
|
#- BANNER=This is a test banner<br>with a line break
|
Loading…
Add table
Add a link
Reference in a new issue