Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
126 lines (116 sloc) 2.51 KB
version: "3.2"
services:
postgres:
image: postgres:10.0
ports:
- "15432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: aleph
POSTGRES_PASSWORD: aleph
POSTGRES_DATABASE: aleph
elasticsearch:
image: alephdata/aleph-elasticsearch:6
restart: on-failure
ports:
- "19200:9200"
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
rabbitmq:
image: rabbitmq
hostname: queue
volumes:
- rabbitmq-data:/var/lib/rabbitmq
redis:
image: redis:alpine
command: ["redis-server", "--appendonly", "yes"]
volumes:
- redis-data:/data
convert-document:
image: alephdata/convert-document:1.4.0
restart: on-failure
tmpfs:
- /tmp
- /root/.config
expose:
- 3000
recognize-text:
image: alephdata/recognize-text:1.2.0
restart: on-failure
expose:
- 50000
app:
image: alephdata/aleph
command: /bin/bash
links:
- postgres
- elasticsearch
- rabbitmq
- redis
- convert-document
- recognize-text
tmpfs: /tmp
volumes:
- archive-data:/data
- "./aleph:/aleph/aleph"
- "./contrib:/aleph/contrib"
- "./mappings:/aleph/mappings"
- "/:/host"
cap_add:
- SYS_PTRACE
environment:
ALEPH_DEBUG: 'true'
ALEPH_SECRET_KEY: 'development'
ALEPH_OAUTH: 'false'
ARCHIVE_TYPE: 'file'
env_file:
- aleph.env
api:
image: alephdata/aleph
command: python3 aleph/manage.py runserver -h 0.0.0.0 -p 5000 --threaded
expose:
- 5000
ports:
- "5000:5000"
restart: on-failure
links:
- postgres
- elasticsearch
- rabbitmq
- redis
- convert-document
- recognize-text
tmpfs: /tmp
volumes:
- archive-data:/data
- "./aleph:/aleph/aleph"
- "/:/host"
environment:
ALEPH_DEBUG: 'true'
ALEPH_SECRET_KEY: 'development'
ARCHIVE_TYPE: 'file'
env_file:
- aleph.env
ui:
image: alephdata/aleph-ui
links:
- api
command: npm run start
ports:
- "8080:3000"
volumes:
- "./ui/src:/alephui/src"
- "./ui/public:/alephui/public"
- "./ui/.tx:/alephui/.tx"
- "./ui/package.json:/alephui/package.json"
environment:
REACT_APP_API_ENDPOINT: '/api/2'
env_file:
- aleph.env
volumes:
archive-data: {}
elasticsearch-data: {}
postgres-data: {}
rabbitmq-data: {}
redis-data: {}
You can’t perform that action at this time.