1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 15:28:06 +02:00

Change the location of the git-bridge data directory

The default location of the data directory inside the git-bridge
container is /tmp/wlgb, but the data it contains should not be
considered temporary. In order to avoid any misunderstanding that would
lead an administrator to delete the contents of the /tmp directory, we
move the data directory to /data/git-bridge.
This commit is contained in:
Eric Mc Sween 2023-05-10 17:17:32 -04:00
parent 1d3e729980
commit 43e0c0d607

View file

@ -6,14 +6,15 @@ services:
restart: always
image: "${GIT_BRIDGE_IMAGE}"
volumes:
- "${GIT_BRIDGE_DATA_PATH}:/tmp/wlgb"
- "${GIT_BRIDGE_DATA_PATH}:/data/git-bridge"
container_name: git-bridge
expose:
- "8000"
environment:
GIT_BRIDGE_API_BASE_URL: "http://sharelatex/api/v0"
GIT_BRIDGE_OAUTH2_SERVER: "http://sharelatex"
GIT_BRIDGE_POSTBACK_BASE_URL: "http://git-bridge:8000"
GIT_BRIDGE_API_BASE_URL: "http://sharelatex/api/v0"
GIT_BRIDGE_OAUTH2_SERVER: "http://sharelatex"
GIT_BRIDGE_POSTBACK_BASE_URL: "http://git-bridge:8000"
GIT_BRIDGE_ROOT_DIR: "/data/git-bridge"
env_file:
- common.env
- ../config/variables.env