Changeset View
Changeset View
Standalone View
Standalone View
docker/docker-compose.yml
Show All 38 Lines | environment: | ||||
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT | KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT | ||||
depends_on: | depends_on: | ||||
- zookeeper | - zookeeper | ||||
healthcheck: | healthcheck: | ||||
test: "[ `JMX_PORT= kafka-topics.sh --list --zookeeper zookeeper:2181 | wc -l` -ge 6 ]" | test: "[ `JMX_PORT= kafka-topics.sh --list --zookeeper zookeeper:2181 | wc -l` -ge 6 ]" | ||||
interval: 10s | interval: 10s | ||||
timeout: 5s | timeout: 5s | ||||
retries: 10 | retries: 10 | ||||
volumes: | |||||
- kafka-data:/kafka | |||||
vsellier: unnecessary empty line ? | |||||
cmak: | cmak: | ||||
# Note: CMAK does not work out of the box, you need to run this first: | # Note: CMAK does not work out of the box, you need to run this first: | ||||
# $ docker-compose exec zookeeper ./bin/zkCli.sh | # $ docker-compose exec zookeeper ./bin/zkCli.sh | ||||
# create /kafka-manager/mutex "" | # create /kafka-manager/mutex "" | ||||
# create /kafka-manager/mutex/locks "" | # create /kafka-manager/mutex/locks "" | ||||
# create /kafka-manager/mutex/leases "" | # create /kafka-manager/mutex/leases "" | ||||
# See: https://github.com/yahoo/CMAK/issues/731#issuecomment-643880544 | # See: https://github.com/yahoo/CMAK/issues/731#issuecomment-643880544 | ||||
▲ Show 20 Lines • Show All 185 Lines • ▼ Show 20 Lines | services: | ||||
# Graph storage | # Graph storage | ||||
swh-storage-db: | swh-storage-db: | ||||
image: postgres:12 | image: postgres:12 | ||||
env_file: | env_file: | ||||
- ./env/storage-db.env | - ./env/storage-db.env | ||||
volumes: | volumes: | ||||
- "./services/initdb.d:/docker-entrypoint-initdb.d" | - "./services/initdb.d:/docker-entrypoint-initdb.d" | ||||
- storage-data:/var/lib/postgresql | |||||
swh-storage: | swh-storage: | ||||
image: swh/stack | image: swh/stack | ||||
build: ./ | build: ./ | ||||
ports: | ports: | ||||
- 5002:5002 | - 5002:5002 | ||||
depends_on: | depends_on: | ||||
- swh-storage-db | - swh-storage-db | ||||
Show All 20 Lines | swh-objstorage: | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
environment: | environment: | ||||
SWH_CONFIG_FILENAME: /objstorage.yml | SWH_CONFIG_FILENAME: /objstorage.yml | ||||
entrypoint: /entrypoint.sh | entrypoint: /entrypoint.sh | ||||
volumes: | volumes: | ||||
- "./conf/objstorage.yml:/objstorage.yml:ro" | - "./conf/objstorage.yml:/objstorage.yml:ro" | ||||
- "./services/swh-objstorage/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-objstorage/entrypoint.sh:/entrypoint.sh:ro" | ||||
- objstorage-data:/srv/softwareheritage | |||||
# Indexer storage | # Indexer storage | ||||
swh-idx-storage-db: | swh-idx-storage-db: | ||||
image: postgres:12 | image: postgres:12 | ||||
env_file: | env_file: | ||||
- ./env/indexers-db.env | - ./env/indexers-db.env | ||||
volumes: | volumes: | ||||
▲ Show 20 Lines • Show All 342 Lines • ▼ Show 20 Lines | depends_on: | ||||
swh-counters: | swh-counters: | ||||
condition: service_healthy | condition: service_healthy | ||||
volumes: | volumes: | ||||
- "./conf/counters_journal_client.yml:/etc/softwareheritage/counters/journal_client.yml:ro" | - "./conf/counters_journal_client.yml:/etc/softwareheritage/counters/journal_client.yml:ro" | ||||
- "./services/swh-counters-journal-client/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-counters-journal-client/entrypoint.sh:/entrypoint.sh:ro" | ||||
volumes: | volumes: | ||||
redis-data: | redis-data: | ||||
storage-data: | |||||
objstorage-data: | |||||
kafka-data: |
unnecessary empty line ?