Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
REPO-4398: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ancutam committed Jun 12, 2019
1 parent a86a935 commit 4f8a9ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# ACS Nginx Proxy

A proxy container for ACS deployment with Alfresco Digital Workspace support.
A proxy container for ACS Community deployment.

## Environment variables

| Name | Default | Description |
| --- | --- | --- |
| ADW_URL | `http://digital-workspace` | Digital Workspace URL inside network. |
| REPO_URL | `http://alfresco:8080` | Repository URL inside network. |
| SHARE_URL | `http://share:8080` | Share URL inside network. |
| ACCESS_LOG | n/a | Set the `access_log` value. Set to `off` to switch off logging. |
Expand All @@ -15,22 +14,18 @@ A proxy container for ACS deployment with Alfresco Digital Workspace support.

```sh
docker run \
-e ADW_URL="http://digital-workspace:8091" \
-e REPO_URL="http://alfresco:8092" \
-e SHARE_URL="http://share:8093" \
-e ACCESS_LOG="off" \
--rm -p 80:80/tcp \
quay.io/alfresco/alfresco-acs-nginx:1.0.0
alfresco/acs-community-ngnix:1.0.0
```

Using with docker-compose:

```yml
digital-workspace:
image: quay.io/alfresco/alfresco-digital-workspace:1.0.0

digital-workspace-ingress:
image: quay.io/alfresco/alfresco-acs-nginx:1.0.0
image: alfresco/acs-community-ngnix:1.0.0
depends_on:
- alfresco
- digital-workspace
Expand All @@ -41,7 +36,6 @@ digital-workspace-ingress:
- alfresco
- share
# environment:
# ADW_URL: "http://digital-workspace"
# REPO_URL: "http://alfresco:8080"
# SHARE_URL: "http://share:8080"
```
Expand All @@ -50,4 +44,4 @@ digital-workspace-ingress:

Bamboo branches:

* Alfresco Digital Workspace / [ACS Nginx Proxy](https://bamboo.alfresco.com/bamboo/browse/PLAT-ACSING)
* Repository / [ACS Ingress](https://bamboo.alfresco.com/bamboo/browse/PLAT-ACSING0)
4 changes: 0 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/sh

if [[ $ADW_URL ]]; then
sed -i s%http:\/\/digital-workspace:8080%"$ADW_URL"%g /etc/nginx/nginx.conf
fi

if [[ $REPO_URL ]]; then
sed -i s%http:\/\/alfresco:8080%"$REPO_URL"%g /etc/nginx/nginx.conf
fi
Expand Down

0 comments on commit 4f8a9ef

Please sign in to comment.