Changeset View
Changeset View
Standalone View
Standalone View
docker/docker-compose.yml
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | services: | ||||
# Scheduler | # Scheduler | ||||
swh-scheduler-db: | swh-scheduler-db: | ||||
image: postgres:12 | image: postgres:12 | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
- ./env/scheduler-db.env | - ./env/scheduler-db.env | ||||
volumes: | |||||
- "./services/initdb.d:/docker-entrypoint-initdb.d" | |||||
swh-scheduler: | swh-scheduler: | ||||
image: swh/stack | image: swh/stack | ||||
build: ./ | build: ./ | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
- ./env/scheduler-db.env | - ./env/scheduler-db.env | ||||
- ./env/scheduler.env | - ./env/scheduler.env | ||||
▲ Show 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | volumes: | ||||
- "./services/swh-scheduler-worker/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-scheduler-worker/entrypoint.sh:/entrypoint.sh:ro" | ||||
# 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: | |||||
- "./services/initdb.d:/docker-entrypoint-initdb.d" | |||||
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 27 Lines | volumes: | ||||
- "./services/swh-objstorage/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-objstorage/entrypoint.sh:/entrypoint.sh:ro" | ||||
# 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: | |||||
- "./services/initdb.d:/docker-entrypoint-initdb.d" | |||||
swh-idx-storage: | swh-idx-storage: | ||||
image: swh/stack | image: swh/stack | ||||
build: ./ | build: ./ | ||||
ports: | ports: | ||||
- 5007:5007 | - 5007:5007 | ||||
depends_on: | depends_on: | ||||
- swh-idx-storage-db | - swh-idx-storage-db | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
- ./env/indexers-db.env | - ./env/indexers-db.env | ||||
- ./env/indexers.env | - ./env/indexers.env | ||||
environment: | environment: | ||||
SWH_CONFIG_FILENAME: /indexer_storage.yml | SWH_CONFIG_FILENAME: /indexer_storage.yml | ||||
entrypoint: /entrypoint.sh | entrypoint: /entrypoint.sh | ||||
volumes: | volumes: | ||||
- "./conf/indexer_storage.yml:/indexer_storage.yml:ro" | - "./conf/indexer_storage.yml:/indexer_storage.yml:ro" | ||||
- "./services/swh-indexer-storage/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-indexer-storage/entrypoint.sh:/entrypoint.sh:ro" | ||||
# Web interface | # Web interface | ||||
swh-web-db: | swh-web-db: | ||||
image: postgres:12 | image: postgres:12 | ||||
env_file: | env_file: | ||||
- ./env/01-web-db.env | - ./env/01-web-db.env | ||||
volumes: | |||||
- "./services/initdb.d:/docker-entrypoint-initdb.d" | |||||
swh-web: | swh-web: | ||||
build: ./ | build: ./ | ||||
image: swh/stack | image: swh/stack | ||||
ports: | ports: | ||||
- 3000:3000 | - 3000:3000 | ||||
- 5004:5004 | - 5004:5004 | ||||
depends_on: | depends_on: | ||||
Show All 33 Lines | swh-web-cron: | ||||
volumes: | volumes: | ||||
- "./conf/web.yml:/web.yml:ro" | - "./conf/web.yml:/web.yml:ro" | ||||
- "./services/swh-web/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-web/entrypoint.sh:/entrypoint.sh:ro" | ||||
swh-deposit-db: | swh-deposit-db: | ||||
image: postgres:12 | image: postgres:12 | ||||
env_file: | env_file: | ||||
- ./env/deposit-db.env | - ./env/deposit-db.env | ||||
volumes: | |||||
- "./services/initdb.d:/docker-entrypoint-initdb.d" | |||||
swh-deposit: | swh-deposit: | ||||
image: swh/stack | image: swh/stack | ||||
build: ./ | build: ./ | ||||
ports: | ports: | ||||
- 5006:5006 | - 5006:5006 | ||||
depends_on: | depends_on: | ||||
- swh-deposit-db | - swh-deposit-db | ||||
Show All 10 Lines | swh-deposit: | ||||
volumes: | volumes: | ||||
- "./conf/deposit.yml:/deposit.yml:ro" | - "./conf/deposit.yml:/deposit.yml:ro" | ||||
- "./services/swh-deposit/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-deposit/entrypoint.sh:/entrypoint.sh:ro" | ||||
swh-vault-db: | swh-vault-db: | ||||
image: postgres:12 | image: postgres:12 | ||||
env_file: | env_file: | ||||
- ./env/vault-db.env | - ./env/vault-db.env | ||||
volumes: | |||||
- "./services/initdb.d:/docker-entrypoint-initdb.d" | |||||
swh-vault: | swh-vault: | ||||
image: swh/stack | image: swh/stack | ||||
build: ./ | build: ./ | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
- ./env/vault-db.env | - ./env/vault-db.env | ||||
- ./env/vault.env | - ./env/vault.env | ||||
▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines |