Changeset View
Changeset View
Standalone View
Standalone View
docker-compose.yml
version: '2' | version: '2' | ||||
services: | services: | ||||
amqp: | amqp: | ||||
image: rabbitmq:3.6-management | image: rabbitmq:3.6-management | ||||
ports: | ports: | ||||
- 5018:15672 | - 5018:15672 | ||||
zookeeper: | |||||
image: wurstmeister/zookeeper | |||||
ports: | |||||
- "2181:2181" | |||||
kafka: | |||||
image: wurstmeister/kafka | |||||
ports: | |||||
- "9092:9092" | |||||
env_file: ./kafka.env | |||||
depends_on: | |||||
vlorentz: why? | |||||
Done Inline Actionsi don't know, i'm planning on checking if it's useful or not. ardumont: i don't know, i'm planning on checking if it's useful or not. | |||||
Not Done Inline ActionsIt's useful only if Kafka needs to spawn other containers. We don't do that, do we? vlorentz: It's useful only if Kafka needs to spawn other containers. We don't do that, do we? | |||||
Done Inline ActionsNo, well not intentionally at least ;) ardumont: No, well not intentionally at least ;) | |||||
- zookeeper | |||||
# Scheduler | # Scheduler | ||||
swh-scheduler-db: | swh-scheduler-db: | ||||
image: postgres:10 | image: postgres:10 | ||||
environment: | environment: | ||||
POSTGRES_PASSWORD: testpassword | POSTGRES_PASSWORD: testpassword | ||||
POSTGRES_DB: swh-scheduler | POSTGRES_DB: swh-scheduler | ||||
Show All 35 Lines | # Graph storage | ||||
swh-storage: | swh-storage: | ||||
build: ./dockerfiles/swh-storage | build: ./dockerfiles/swh-storage | ||||
image: swh/storage | image: swh/storage | ||||
ports: | ports: | ||||
- 5002:5002 | - 5002:5002 | ||||
depends_on: | depends_on: | ||||
- swh-storage-db | - swh-storage-db | ||||
- swh-objstorage | - swh-objstorage | ||||
environment: | env_file: ./storage.env | ||||
POSTGRES_PASSWORD: testpassword | |||||
POSTGRES_DB: swh-storage | |||||
PGHOST: swh-storage-db | |||||
PGUSER: postgres | |||||
# Object storage | # Object storage | ||||
swh-objstorage: | swh-objstorage: | ||||
build: ./dockerfiles/swh-objstorage | build: ./dockerfiles/swh-objstorage | ||||
image: swh/objstorage | image: swh/objstorage | ||||
ports: | ports: | ||||
- 5003:5003 | - 5003:5003 | ||||
▲ Show 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | swh-indexer-mimetype: | ||||
environment: | environment: | ||||
SWH_WORKER_INSTANCE: mimetype | SWH_WORKER_INSTANCE: mimetype | ||||
depends_on: | depends_on: | ||||
- swh-scheduler-api | - swh-scheduler-api | ||||
- swh-idx-storage | - swh-idx-storage | ||||
- swh-storage | - swh-storage | ||||
- swh-objstorage | - swh-objstorage | ||||
- amqp | - amqp | ||||
# Journal related | |||||
swh-storage-listener: | |||||
image: swh/storage-listener | |||||
build: ./dockerfiles/swh-storage-listener | |||||
env_file: ./storage.env | |||||
depends_on: | |||||
- swh-storage-db | |||||
- kafka | |||||
swh-journal-publisher: | |||||
image: swh/journal-publisher | |||||
build: ./dockerfiles/swh-journal-publisher | |||||
depends_on: | |||||
- kafka | |||||
- swh-storage-listener | |||||
swh-journal-client: | |||||
image: swh/journal-client | |||||
build: ./dockerfiles/swh-journal-client | |||||
depends_on: | |||||
- swh-journal-publisher | |||||
why?