Merge pull request #10193 from owncloud/improve-debug-docker

fix: improve docker compose
This commit is contained in:
Michael Barz
2024-10-01 12:04:16 +02:00
committed by GitHub
5 changed files with 7 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ services:
COLLABORATION_APP_INSECURE: "${INSECURE:-true}"
COLLABORATION_CS3API_DATAGATEWAY_INSECURE: "${INSECURE:-true}"
COLLABORATION_LOG_LEVEL: ${LOG_LEVEL:-info}
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
volumes:
# configure the .env file to use own paths instead of docker internal volumes
- ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis

View File

@@ -3,5 +3,7 @@ services:
collaboration:
command: [ "-c", "dlv --listen=:40000 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis collaboration server" ]
environment:
COLLABORATION_LOG_LEVEL: debug
ports:
- 40001:40000

View File

@@ -3,5 +3,7 @@ services:
collaboration-oo:
command: [ "-c", "dlv --listen=:40002 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis collaboration server" ]
environment:
COLLABORATION_LOG_LEVEL: debug
ports:
- 40002:40002

View File

@@ -32,6 +32,7 @@ services:
COLLABORATION_CS3API_DATAGATEWAY_INSECURE: "${INSECURE:-true}"
COLLABORATION_LOG_LEVEL: ${LOG_LEVEL:-info}
COLLABORATION_APP_PROOF_DISABLE: "true"
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
volumes:
# configure the .env file to use own paths instead of docker internal volumes
- ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis

View File

@@ -1,4 +1,4 @@
FROM amd64/alpine:3.19
FROM amd64/alpine:latest
ARG VERSION=""
ARG REVISION=""