Skip to content

Commit

Permalink
Merge pull request #9847 from owncloud/make_volumes_configurable
Browse files Browse the repository at this point in the history
[docs-only][stable-5.0] ocis_wopi deployment example, make data and config volumes configurable
  • Loading branch information
mmattel authored Aug 19, 2024
2 parents caecf78 + 2b755c3 commit 6901752
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
8 changes: 8 additions & 0 deletions deployments/examples/ocis_wopi/.env
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ DEMO_USERS=
# https://doc.owncloud.com/ocis/latest/deployment/services/env-vars-special-scope.html
LOG_LEVEL=

# Define the oCIS storage location. Set the paths for config and data to a local path.
# Note that especially the data directory can grow big.
# Leaving it default stores data in docker internal volumes.
# For more details see:
# https://doc.owncloud.com/ocis/next/deployment/general/general-info.html#default-paths
# OCIS_CONFIG_DIR=/your/local/ocis/config
# OCIS_DATA_DIR=/your/local/ocis/data

# Define SMPT settings if you would like to send Infinite Scale email notifications.
# For more details see:
# https://doc.owncloud.com/ocis/latest/deployment/services/s-list/notifications.html
Expand Down
3 changes: 2 additions & 1 deletion deployments/examples/ocis_wopi/collabora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ services:
# share the registry with the ocis container
MICRO_REGISTRY_ADDRESS: ocis:9233
volumes:
- ocis-config:/etc/ocis
# configure the .env file to use own paths instead of docker internal volumes
- ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis
logging:
driver: ${LOG_DRIVER:-local}
restart: always
Expand Down
5 changes: 3 additions & 2 deletions deployments/examples/ocis_wopi/ocis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ services:
# enable to allow using the banned passwords list
#OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: banned-password-list.txt
volumes:
# configure the .env file to use own paths instead of docker internal volumes
- ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis
- ${OCIS_DATA_DIR:-ocis-data}:/var/lib/ocis
# paths are relative to the main compose file
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
- ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml
- ./config/ocis/web.yaml:/etc/ocis/web.yaml
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
Expand Down
3 changes: 2 additions & 1 deletion deployments/examples/ocis_wopi/onlyoffice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ services:
# share the registry with the ocis container
MICRO_REGISTRY_ADDRESS: ocis:9233
volumes:
- ocis-config:/etc/ocis
# configure the .env file to use own paths instead of docker internal volumes
- ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis
logging:
driver: ${LOG_DRIVER:-local}
restart: always
Expand Down

0 comments on commit 6901752

Please sign in to comment.