mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-30 17:00:57 -06:00
Add variables to .env to configure the data- and config directory
That adds an way of having the volumes configured easily.
This commit is contained in:
@@ -58,6 +58,10 @@ LOG_LEVEL=
|
||||
# The default log can be read by machines.
|
||||
# Set this to true to make the log human readable.
|
||||
# LOG_PRETTY=true
|
||||
# Define the oCIS storage location. Set the pathes for config and data to a local path
|
||||
# Note that this can grow big. Leaving it unset stores data in docker internal volumes.
|
||||
# OCIS_CONFIG_DIR=/your/local/ocis/config
|
||||
# OCIS_DATA_DIR=/your/local/ocis/data
|
||||
|
||||
# S3 Storage configuration - optional
|
||||
# Infinite Scale supports S3 storage as primary storage.
|
||||
|
||||
@@ -55,8 +55,8 @@ services:
|
||||
- ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml
|
||||
- ./config/ocis/csp.yaml:/etc/ocis/csp.yaml
|
||||
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
- ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis
|
||||
- ${OCIS_DATA_DIR:-ocis-data}:/var/lib/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
|
||||
@@ -129,6 +129,10 @@ See also [example server setup]({{< ref "preparing_server" >}})
|
||||
# The default log can be read by machines.
|
||||
# Set this to true to make the log human readable
|
||||
# LOG_PRETTY=true
|
||||
# Define the oCIS storage location. Set the pathes for config and data to a local path
|
||||
# Note that this can grow big. Leaving it unset stores data in docker internal volumes.
|
||||
# OCIS_CONFIG_DIR=/your/local/ocis/config
|
||||
# OCIS_DATA_DIR=/your/local/ocis/data
|
||||
|
||||
# S3 Storage configuration
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user