Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .env

This file was deleted.

9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Defines environment variables for Docker Compose.
# Copy this file to .env and fill in the appropriate values before running `docker compose up`.
# Can be overridden inline, e.g.: MARKLOGIC_IMAGE=progressofficial/marklogic-db:latest docker compose up -d --build

MARKLOGIC_LOGS_VOLUME=./docker/marklogic/logs

# Public MarkLogic image (default for open-source contributors).
# Internal developers: replace with the appropriate internal registry image.
MARKLOGIC_IMAGE=progressofficial/marklogic-db:latest
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ uriCache.txt
gradle-local.properties
bin
repairXMLFull.xml
.env
xml-with-props.xml

ml-development-tools/src/test/ml-modules
Expand All @@ -42,3 +43,6 @@ docker/
.kotlin

dep.txt

tmp
documents
14 changes: 13 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,20 @@ The tests require a MarkLogic instance with access to several ports (8000,8001,8
be a local instance or it may be running in a Docker container. If you would like to create a Docker container with the
instance, you may create the container with the following commands (starting in the project root directory):

1. Copy `.env.example` to `.env` and fill in the appropriate values:

```
cp .env.example .env
```

The default `MARKLOGIC_IMAGE` in `.env.example` points to the public `progressofficial/marklogic-db:latest` image.
Progress/internal developers should replace this with the appropriate internal Artifactory image before running
`docker compose up`.

2. Start the container:

```
docker-compose up -d --build
docker compose up -d --build
```

Once you have a MarkLogic instance ready, the application is then deployed via the following command:
Expand Down
Loading