Changeset View
Changeset View
Standalone View
Standalone View
docker/docker-compose.yml
Show First 20 Lines • Show All 342 Lines • ▼ Show 20 Lines | swh-web: | ||||
ports: | ports: | ||||
- 3000:3000 | - 3000:3000 | ||||
- 5004:5004 | - 5004:5004 | ||||
depends_on: | depends_on: | ||||
- swh-idx-storage | - swh-idx-storage | ||||
- swh-scheduler | - swh-scheduler | ||||
- swh-storage | - swh-storage | ||||
- swh-web-db | - swh-web-db | ||||
- swh-search | |||||
- memcache | - memcache | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
- ./env/01-web-db.env | - ./env/01-web-db.env | ||||
- ./env/02-web-db.env | - ./env/02-web-db.env | ||||
environment: | environment: | ||||
VERBOSITY: 3 | VERBOSITY: 3 | ||||
DJANGO_SETTINGS_MODULE: swh.web.settings.production | DJANGO_SETTINGS_MODULE: swh.web.settings.production | ||||
▲ Show 20 Lines • Show All 293 Lines • ▼ Show 20 Lines | depends_on: | ||||
redis: | redis: | ||||
condition: service_healthy | condition: service_healthy | ||||
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" | ||||
# Search related | |||||
swh-search: | |||||
image: swh/stack | |||||
build: ./ | |||||
entrypoint: /entrypoint.sh | |||||
ports: | |||||
- 5010:5010 | |||||
environment: | |||||
SWH_CONFIG_FILENAME: /search.yml | |||||
env_file: | |||||
- ./env/common_python.env | |||||
volumes: | |||||
- "./conf/search-memory.yml:/search.yml:ro" | |||||
- "./services/swh-search/entrypoint.sh:/entrypoint.sh:ro" | |||||
swh-search-journal-client-objects: | |||||
image: swh/stack | |||||
build: ./ | |||||
entrypoint: /entrypoint.sh | |||||
depends_on: | |||||
kafka: | |||||
condition: service_healthy | |||||
swh-search: | |||||
condition: service_started | |||||
volumes: | |||||
- "./conf/search_journal_client_objects.yml:/etc/softwareheritage/search/journal_client.yml:ro" | |||||
- "./services/swh-search-journal-client/entrypoint.sh:/entrypoint.sh:ro" | |||||
swh-search-journal-client-indexed: | |||||
image: swh/stack | |||||
build: ./ | |||||
entrypoint: /entrypoint.sh | |||||
depends_on: | |||||
kafka: | |||||
condition: service_healthy | |||||
swh-search: | |||||
condition: service_started | |||||
volumes: | |||||
- "./conf/search_journal_client_indexed.yml:/etc/softwareheritage/search/journal_client.yml:ro" | |||||
- "./services/swh-search-journal-client/entrypoint.sh:/entrypoint.sh:ro" | |||||
volumes: | volumes: | ||||
redis-data: | redis-data: | ||||
storage-data: | storage-data: | ||||
objstorage-data: | objstorage-data: | ||||
kafka-data: | kafka-data: |