Backport Docker composer makefile targets

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-10-31 12:47:11 -04:00
parent 6dda918bb3
commit 75d20d1b57
2 changed files with 10 additions and 0 deletions

View File

@@ -30,6 +30,7 @@
- Add makefile target to launch a production staging Docker image.
- Improve duplicated document list view logic to not show
documents with trashed duplicates.
- Backport Docker composer makefile targets.
3.2.8 (2019-10-01)
==================

View File

@@ -27,6 +27,15 @@ docker-runtest-cleanup: ## Delete the test container and the test volume.
docker-runtest-all: ## Executed the test suite in a test container.
docker run --rm run-tests
docker-compose-build:
docker-compose -f docker/docker-compose.yml -p mayan-edms build
docker-compose-build-with-proxy:
docker-compose -f docker/docker-compose.yml -p mayan-edms build --build-arg APT_PROXY=$(APT_PROXY)
docker-compose-up:
docker-compose -f docker/docker-compose.yml -p mayan-edms up
docker-staging-network-create:
@docker network rm mayan-staging || true
docker network create mayan-staging