Skip to main content
Version: 2.0

GraphGrid Docker Containers

GraphGrid is run as a containerized package, using Docker Compose to define and run its multi-container applications.

Docker YAML file

Each instance of GraphGrid uses a docker-compose.yml file to define and run its services. Here the user will find dependencies, ports, memory size, and other service-defining information. You can find more information about what goes into a docker-compose file in general here.

Users can edit the docker-compose.yml file. A common reason is to adjust module memory.

The file is located inside the packages main directory. To access it, the user can run nano docker-compose.yml. To edit it, cat docker-compose.yml.

Service dependencies are defined here and are used to start and stop individual services.

The docker-compose file also defines a service's ports. For example this snippet shows that the service MinIO is hosted on port 9000.

 minio:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/minio:RELEASE.2021-02-01T22-56-52Z
restart: on-failure
ports:
- 9000:9000

The docker-compose file is not only functional, but acts as a resource useful for accessing services.

Enterprise Docker YAML

version: '3.5'
services:
elasticsearch:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/elasticsearch:6.3.2
restart: on-failure
networks:
- default
ports:
- 9200
- 9300
environment:
- ES_JAVA_OPTS=-Xmx1024m -Xms1024m
- cluster.name=elasticsearch
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ${GRAPHGRID_DATA}/elasticsearch/data:/usr/share/elasticsearch/data
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

kibana:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/kibana:6.3.2
restart: on-failure
networks:
- default
ports:
- 5601:5601
environment:
- xpack.security.enabled=false
- xpack.infra.enabled=true
- xpack.infra.sources.default.logAlias=logstash-*
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
depends_on:
- elasticsearch
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

logstash:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/logstash:6.3.2
restart: on-failure
networks:
- default
ports:
- 5044:5044
- 9600:9600
- 5000:5000
volumes:
- ${GRAPHGRID_DATA}/logstash/config/logstash.docker.yml:/usr/share/logstash/config/logstash.yml:ro
- ${GRAPHGRID_DATA}/logstash/pipeline/logstash.conf:/usr/share/logstash/pipeline/logstash.conf:ro
environment:
- xpack.security.enabled=false
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
depends_on:
- elasticsearch
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

logspout:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/bekt-logspout-logstash:v3.2.5
restart: on-failure
networks:
- default
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
ROUTE_URIS: "logstash+tcp://logstash:5000"

apm-server:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/apm-server-oss:6.8.15
restart: on-failure
user: apm-server
networks:
- default
ports:
- 8200:8200
depends_on:
- elasticsearch
- kibana
volumes:
- ${GRAPHGRID_DATA}/apm-server/apm-server.docker.yml:/usr/share/apm-server/apm-server.yml:ro

minio:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/minio:RELEASE.2021-02-01T22-56-52Z
restart: on-failure
ports:
- 9000:9000
volumes:
- ${GRAPHGRID_DATA}/minio:/data
command: server /data
env_file:
- ${GRAPHGRID_DATA}/env/minio.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

ongdb:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/ongdb-enterprise:1.0.0
restart: on-failure
ports:
- 7474:7474
- 7687:7687
ulimits:
nproc: 65535
nofile:
soft: 40000
hard: 40000
env_file:
- ${GRAPHGRID_DATA}/env/ongdb.env
- ${GRAPHGRID_DATA}/env/rabbitmq.env
environment:
- ONGDB_dbms_memory_heap_initial__size=1024m
- ONGDB_dbms_memory_heap_max__size=1024m
- ONGDB_dbms_memory_pagecache_size=1024m
- ONGDB_dbms_security_procedures_unrestricted=apoc.*
- ONGDB_dbms_security_allow__csv__import__from__file__urls=true
- ONGDB_apoc_import_file_enabled=true
- ONGDB_apoc_import_file_use__neo4j__config=true
- ONGDB_apoc_trigger_enabled=true
- ONGDB_apoc_jobs_default_num_threads=4
- ONGDB_apoc_jobs_scheduled_num_threads=4
- ONGDB_dbms_logs_query_enabled=true
- ONGDB_dbms_logs_query_parameter__logging__enabled=true
- ONGDB_dbms_logs_query_threshold=20ms
# RabbitMQ apoc integration
- ONGDB_apoc_broker_rabbitmq_type=RABBITMQ
- ONGDB_apoc_broker_rabbitmq_enabled=true
- ONGDB_apoc_broker_rabbitmq_host=rabbitmq
- ONGDB_apoc_broker_rabbitmq_port=5672
- ONGDB_apoc_broker_rabbitmq_vhost=/
# Apoc broker logging
- ONGDB_apoc_brokers_logs_enabled=true
- ONGDB_apoc_brokers_logs_dirPath=logs/
volumes:
- ${GRAPHGRID_DATA}/ongdb/data:/data
- ${GRAPHGRID_DATA}/ongdb/logs:/logs
- ${GRAPHGRID_DATA}/ongdb/import:/import
- ${GRAPHGRID_DATA}/ongdb/plugins:/plugins
depends_on:
- elasticsearch
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

rabbitmq:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/rabbitmq:3.7.8-management
restart: on-failure
ports:
- 15672:15672
- 5672:5672
env_file:
- ${GRAPHGRID_DATA}/env/rabbitmq.env
volumes:
- ${GRAPHGRID_DATA}/rabbitmq/data:/var/lib/rabbitmq
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

redis:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/redis:5.0.9
restart: on-failure
command: bash -c "redis-server /setup/redis.conf --daemonize yes && sleep 1 && cat /setup/graphgrid_default_config.txt /setup/gg_packaging_redis_default_policies.txt | redis-cli --pipe && tail -f /dev/null"
networks:
- default
volumes:
- ${GRAPHGRID_DATA}/redis/setup:/setup
- ${GRAPHGRID_DATA}/redis/data:/redis/data

sql:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/postgres:11.4
restart: on-failure
env_file:
- ${GRAPHGRID_DATA}/env/sql.env
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- ${GRAPHGRID_DATA}/sql/data:/var/lib/postgresql/data
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

openldap:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/openldap:1.4.6
restart: on-failure
env_file:
- ${GRAPHGRID_DATA}/env/openldap.env
volumes:
- ${GRAPHGRID_DATA}/openldap/ldap:/var/lib/ldap
- ${GRAPHGRID_DATA}/openldap/slap.d:/etc/ldap/slapd.d
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

nginx:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/nginx:1.4.6
restart: on-failure
networks:
- default
ports:
- 80:80
- 443:443
volumes:
- ${GRAPHGRID_DATA}/nginx/config/nginx.conf:/etc/nginx/nginx.conf
- ${GRAPHGRID_DATA}/nginx/config/global:/etc/nginx/global
- ${GRAPHGRID_DATA}/nginx/config/sites-enabled:/etc/nginx/sites-enabled
- ${GRAPHGRID_DATA}/nginx/config/sites-available:/etc/nginx/sites-available
- ${GRAPHGRID_DATA}/nginx/certs:/etc/nginx/ssl/certs/

config:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/config:1.4.6
restart: on-failure
networks:
- default
ports:
- 8888:8080
- 4905:5005
depends_on:
- ongdb
- rabbitmq
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/config/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
environment:
- WAIT_FOR=ongdb:7474
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=customredis
- MAX_HEAP=512m
- INITIAL_HEAP=256m

files:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/files:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 6205:5005
depends_on:
- config
- minio
- ongdb
volumes:
- ${GRAPHGRID_DATA}/graphgrid/files/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

fuze:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/fuze:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 6005:5005
depends_on:
- config
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/fuze/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

manager:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/manager:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5405:5005
depends_on:
- config
- elasticsearch
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/manager/log:/var/log/graphgrid
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

nlp:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/nlp:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 6105:5005
depends_on:
- config
- minio
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/nlp/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
- ./nlp/models:/nlp/models
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

pdf:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/pdf:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5505:5005
depends_on:
- config
- minio
- ongdb
volumes:
- ${GRAPHGRID_DATA}/graphgrid/pdf/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

publish:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/publish:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 6305:5005
depends_on:
- config
- minio
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/publish/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

search:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/search:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5305:5005
depends_on:
- config
- elasticsearch
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/search/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

security:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/security:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5805:5005
depends_on:
- config
- ongdb
- openldap
- sql
- nginx
volumes:
- ${GRAPHGRID_DATA}/graphgrid/security/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

curator:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/curator:1.4.6
restart: on-failure
depends_on:
- ongdb
- config
- apm-server
networks:
- default
ports:
- 8080
volumes:
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

maps:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/openstreetmap-tile-server:1.4.0
restart: on-failure
networks:
- default
volumes:
- ${GRAPHGRID_DATA}/openstreet/postgres:/var/lib/postgresql/12/main
- ${GRAPHGRID_DATA}/openstreet/rendered-tiles:/var/lib/mod_tile
ports:
- 8080:80
environment:
- OSM2PGSQL_EXTRA_ARGS=-C 8192
- THREADS=16
command: "run"

networks:
default:
driver: bridge
name: graphgrid

Eccomerce Docker YAML

version: '3.5'
services:
sendy:
depends_on:
- db_sendy
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/sendy:1.4.6
restart: on-failure
env_file:
- ${GRAPHGRID_DATA}/env/sendy.env
ports:
- 8080:80
networks:
- default

db_sendy:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/mysql:5.6
restart: on-failure
env_file:
- ${GRAPHGRID_DATA}/env/sendy.env
volumes:
- ${GRAPHGRID_DATA}/mysql:/var/lib/mysql

elasticsearch:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/elasticsearch:6.3.2
restart: on-failure
networks:
- default
ports:
- 9200
- 9300
environment:
- ES_JAVA_OPTS=-Xmx1024m -Xms1024m
- cluster.name=elasticsearch
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ${GRAPHGRID_DATA}/elasticsearch/data:/usr/share/elasticsearch/data
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

kibana:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/kibana:6.3.2
restart: on-failure
networks:
- default
ports:
- 5601:5601
environment:
- xpack.security.enabled=false
- xpack.infra.enabled=true
- xpack.infra.sources.default.logAlias=logstash-*
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
depends_on:
- elasticsearch
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

logstash:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/logstash:6.3.2
restart: on-failure
networks:
- default
ports:
- 5044:5044
- 9600:9600
- 5000:5000
volumes:
- ${GRAPHGRID_DATA}/logstash/config/logstash.docker.yml:/usr/share/logstash/config/logstash.yml:ro
- ${GRAPHGRID_DATA}/logstash/pipeline/logstash.conf:/usr/share/logstash/pipeline/logstash.conf:ro
environment:
- xpack.security.enabled=false
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
depends_on:
- elasticsearch
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

logspout:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/bekt-logspout-logstash:v3.2.5
restart: on-failure
networks:
- default
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
ROUTE_URIS: "logstash+tcp://logstash:5000"

apm-server:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/apm-server-oss:6.8.15
restart: on-failure
user: apm-server
networks:
- default
ports:
- 8200:8200
depends_on:
- elasticsearch
- kibana
volumes:
- ${GRAPHGRID_DATA}/apm-server/apm-server.docker.yml:/usr/share/apm-server/apm-server.yml:ro

minio:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/minio:RELEASE.2021-02-01T22-56-52Z
restart: on-failure
ports:
- 9000:9000
volumes:
- ${GRAPHGRID_DATA}/minio:/data
command: server /data
env_file:
- ${GRAPHGRID_DATA}/env/minio.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

ongdb:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/ongdb-enterprise:1.0.0
restart: on-failure
ports:
- 7474:7474
- 7687:7687
ulimits:
nproc: 65535
nofile:
soft: 40000
hard: 40000
env_file:
- ${GRAPHGRID_DATA}/env/ongdb.env
- ${GRAPHGRID_DATA}/env/rabbitmq.env
environment:
- ONGDB_dbms_memory_heap_initial__size=1024m
- ONGDB_dbms_memory_heap_max__size=1024m
- ONGDB_dbms_memory_pagecache_size=1024m
- ONGDB_dbms_security_procedures_unrestricted=apoc.*
- ONGDB_dbms_security_allow__csv__import__from__file__urls=true
- ONGDB_apoc_import_file_enabled=true
- ONGDB_apoc_import_file_use__neo4j__config=true
- ONGDB_apoc_trigger_enabled=true
- ONGDB_apoc_jobs_default_num_threads=4
- ONGDB_apoc_jobs_scheduled_num_threads=4
- ONGDB_dbms_logs_query_enabled=true
- ONGDB_dbms_logs_query_parameter__logging__enabled=true
- ONGDB_dbms_logs_query_threshold=20ms
# RabbitMQ apoc integration
- ONGDB_apoc_broker_rabbitmq_type=RABBITMQ
- ONGDB_apoc_broker_rabbitmq_enabled=true
- ONGDB_apoc_broker_rabbitmq_host=rabbitmq
- ONGDB_apoc_broker_rabbitmq_port=5672
- ONGDB_apoc_broker_rabbitmq_vhost=/
# Apoc broker logging
- ONGDB_apoc_brokers_logs_enabled=true
- ONGDB_apoc_brokers_logs_dirPath=logs/
volumes:
- ${GRAPHGRID_DATA}/ongdb/data:/data
- ${GRAPHGRID_DATA}/ongdb/logs:/logs
- ${GRAPHGRID_DATA}/ongdb/import:/import
- ${GRAPHGRID_DATA}/ongdb/plugins:/plugins
depends_on:
- elasticsearch
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

rabbitmq:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/rabbitmq:3.7.8-management
restart: on-failure
ports:
- 15672:15672
- 5672:5672
env_file:
- ${GRAPHGRID_DATA}/env/rabbitmq.env
volumes:
- ${GRAPHGRID_DATA}/rabbitmq/data:/var/lib/rabbitmq
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

redis:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/redis:5.0.9
restart: on-failure
command: bash -c "redis-server /setup/redis.conf --daemonize yes && sleep 1 && cat /setup/graphgrid_default_config.txt /setup/gg_packaging_redis_default_policies.txt | redis-cli --pipe && tail -f /dev/null"
networks:
- default
volumes:
- ${GRAPHGRID_DATA}/redis/setup:/setup
- ${GRAPHGRID_DATA}/redis/data:/redis/data

sql:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/postgres:11.4
restart: on-failure
env_file:
- ${GRAPHGRID_DATA}/env/sql.env
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- ${GRAPHGRID_DATA}/sql/data:/var/lib/postgresql/data
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

payment:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/payment:1.4.6
restart: on-failure
networks:
- default
depends_on:
- ongdb
- security
volumes:
- ${GRAPHGRID_DATA}/graphgrid/payment/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

config:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/config:1.4.6
restart: on-failure
networks:
- default
ports:
- 8888:8080
- 4905:5005
depends_on:
- ongdb
- rabbitmq
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/config/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
environment:
- WAIT_FOR=ongdb:7474
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=customredis
- MAX_HEAP=512m
- INITIAL_HEAP=256m

files:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/files:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 6205:5005
depends_on:
- config
- minio
- ongdb
volumes:
- ${GRAPHGRID_DATA}/graphgrid/files/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

fuze:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/fuze:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 6005:5005
depends_on:
- config
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/fuze/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

manager:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/manager:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5405:5005
depends_on:
- config
- elasticsearch
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/manager/log:/var/log/graphgrid
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

nginx:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/nginx:1.4.6
restart: on-failure
networks:
- default
ports:
- 80:80
- 443:443
volumes:
- ${GRAPHGRID_DATA}/nginx/config/nginx.conf:/etc/nginx/nginx.conf
- ${GRAPHGRID_DATA}/nginx/config/global:/etc/nginx/global
- ${GRAPHGRID_DATA}/nginx/config/sites-enabled:/etc/nginx/sites-enabled
- ${GRAPHGRID_DATA}/nginx/config/sites-available:/etc/nginx/sites-available
- ${GRAPHGRID_DATA}/nginx/certs:/etc/nginx/ssl/certs/

openldap:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/openldap:1.4.6
restart: on-failure
env_file:
- ${GRAPHGRID_DATA}/env/openldap.env
volumes:
- ${GRAPHGRID_DATA}/openldap/ldap:/var/lib/ldap
- ${GRAPHGRID_DATA}/openldap/slap.d:/etc/ldap/slapd.d
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

pdf:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/pdf:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5505:5005
depends_on:
- config
- minio
- ongdb
volumes:
- ${GRAPHGRID_DATA}/graphgrid/pdf/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

publish:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/publish:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 6305:5005
depends_on:
- config
- minio
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/publish/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

search:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/search:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5305:5005
depends_on:
- config
- elasticsearch
- ongdb
- redis
volumes:
- ${GRAPHGRID_DATA}/graphgrid/search/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

security:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/security:1.4.6
restart: on-failure
networks:
- default
ports:
- 8080
- 5805:5005
depends_on:
- config
- ongdb
- openldap
- sql
- nginx
volumes:
- ${GRAPHGRID_DATA}/graphgrid/security/log:/logs
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env
logging:
driver: json-file
options:
max-size: 10m
max-file: '6'

curator:
image: 754290812573.dkr.ecr.us-west-2.amazonaws.com/graphgrid/curator:1.4.6
restart: on-failure
depends_on:
- ongdb
- config
- apm-server
networks:
- default
ports:
- 8080
volumes:
- ${GRAPHGRID_DATA}/graphgrid/config/credentials:/config:ro
env_file:
- ${GRAPHGRID_DATA}/env/graphgrid.env

networks:
default:
driver: bridge
name: graphgrid