Alfresco / acs-ingress

GNU Lesser General Public License v3.0
6 stars 15 forks source link
alfresco alfresco-bdu docker nginx ops-readiness-team

ACS Nginx Proxy

A proxy container for ACS deployment with Alfresco Digital Workspace and Sync Service support. If USE_SSL set to true provide ssl cert in ssl/cert.crt and ssl/cert.key

DEPRECATION WARNING

:warning: This image is no more used in the Alfresco docker compose files as it's unmaintained for quite sometime now. While docker compose files should be used for development purposes only we now leverage traefik as a reverse proxy based on the official image so it's more maintainable for us.

Environment variables

Name Default Description
REPO_URL http://alfresco:8080 Repository URL inside network.
ADW_URL http://digital-workspace Digital Workspace URL inside network.
ACA_URL http://content-app:8080 Sync service URL inside network.
CONTROL_CENTER_URL http://control-center Control Center URL inside network.
SHARE_URL http://share:8080 Share URL inside network.
SYNCSERVICE_URL http://sync-service:9090 Sync service URL inside network.
DISABLE_ADW false Disables ADW if set to "true"
DISABLE_SHARE false Disables Share if set to "true"
DISABLE_SYNCSERVICE false Disables Sync Service if set to "true"
DISABLE_PROMETHEUS false Disables Prometheus if set to "true"
DISABLE_CONTROL_CENTER false Disables ADW Control Center if set to "true"
ENABLE_CONTENT_APP false Enables ACA if set to "true"
ACCESS_LOG n/a Set the access_log value. Set to off to switch off logging.
USE_SSL false Enables ssl use if set to "true"
DOMAIN n/a Set domain value for ssl certificate

Examples

docker run \
  -e ADW_URL="http://digital-workspace:8091" \
  -e REPO_URL="http://alfresco:8092" \
  -e SHARE_URL="http://share:8093" \
  -e CONTROL_CENTER_URL="http://control-center:8094" \
  -e SYNCSERVICE_URL="http://sync-service:9090" \
  -e ACCESS_LOG="off" \
  -e USE_SSL="true" \
  -e DOMAIN="domain.com" \ # when USE_SSL="true"
  -v ssl/:/etc/nginx/ssl/ \ # when USE_SSL="true"
  --rm -p 443:443/tcp \ # when USE_SSL="true" | default 8080:8080
  alfresco/alfresco-acs-nginx:3.2.0

Using with docker-compose:

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

digital-workspace-ingress:
    image: alfresco/alfresco-acs-nginx:3.4.0
    depends_on:
        - alfresco
        - digital-workspace
    ports:
        - 443:443 # when USE_SSL="true"
#        - 8080:8080 #default
    links:
        - digital-workspace
        - alfresco
        - share
    volumes:
       - ${PWD}/ssl/:/etc/nginx/ssl/ # when USE_SSL="true"
    environment:
        USE_SSL: "true"
        DOMAIN: "domain.com" # when USE_SSL="true"
    #     ADW_URL: "http://digital-workspace"
    #     REPO_URL: "http://alfresco:8080"
    #     SHARE_URL: "http://share:8080"
    #     SYNCSERVICE_URL: "http://sync-service:9090"

Using with docker-compose Community deployment:

content-app:
    image: quay.io/alfresco/alfresco-content-app:2.10.0
    mem_limit: 128m
    environment:
      APP_BASE_SHARE_URL: "http://localhost:8080/content-app/#/preview/s"

proxy:
    image: alfresco/alfresco-acs-nginx:3.4.0
    mem_limit: 128m
    environment:
        DISABLE_PROMETHEUS: "true"
        DISABLE_SYNCSERVICE: "true"
        DISABLE_ADW: "true"
        DISABLE_CONTROL_CENTER: "true"
        ENABLE_CONTENT_APP: "true"
        USE_SSL: "true" #
        DOMAIN: "domain.com" # when USE_SSL="true"
    depends_on:
        - alfresco
        - content-app
    ports:
        - 443:443 # when USE_SSL="true"
#        - 8080:8080 # default
    links:
        - alfresco
        - share
        - content-app
    volumes:
       - ${PWD}/ssl/:/etc/nginx/ssl/ # when USE_SSL="true"

Continuous Integration

Travis build