mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
43 lines
No EOL
2 KiB
YAML
43 lines
No EOL
2 KiB
YAML
version: '3.3'
|
|
services:
|
|
partdb:
|
|
container_name: partdb
|
|
# By default Part-DB will be running under Port 8080, you can change it here
|
|
ports:
|
|
- '8080:80'
|
|
volumes:
|
|
# By default
|
|
- ./uploads:/var/www/html/uploads
|
|
- ./public_media:/var/www/html/public/media
|
|
- ./db:/var/www/html/var/db
|
|
restart: unless-stopped
|
|
image: jbtronics/part-db1:latest
|
|
environment:
|
|
# Put SQLite database in our mapped folder. You can configure some other kind of database here too.
|
|
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
|
|
# In docker env logs will be redirected to stderr
|
|
- 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 |