Changeset View
Changeset View
Standalone View
Standalone View
docker-compose.yml
version: '2' | version: '2' | ||||
services: | services: | ||||
# Graph storage | |||||
swh-storage-db: | swh-storage-db: | ||||
image: postgres:10 | image: postgres:10 | ||||
environment: | environment: | ||||
POSTGRES_PASSWORD: testpassword | POSTGRES_PASSWORD: testpassword | ||||
POSTGRES_DB: swh-storage | POSTGRES_DB: swh-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: | environment: | ||||
POSTGRES_PASSWORD: testpassword | POSTGRES_PASSWORD: testpassword | ||||
POSTGRES_DB: swh-storage | POSTGRES_DB: swh-storage | ||||
PGHOST: swh-storage-db | PGHOST: swh-storage-db | ||||
PGUSER: postgres | PGUSER: postgres | ||||
# 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 | ||||
# Indexer storage | |||||
swh-idx-storage-db: | |||||
image: postgres:10 | |||||
environment: | |||||
POSTGRES_PASSWORD: testpassword | |||||
POSTGRES_DB: swh-idx-storage | |||||
swh-idx-storage: | |||||
build: ./dockerfiles/swh-indexer-storage | |||||
ardumont: why not a dash, isn't it supported? | |||||
image: swh/indexer-storage | |||||
ports: | |||||
- 5007:5007 | |||||
depends_on: | |||||
- swh-idx-storage-db | |||||
environment: | |||||
POSTGRES_PASSWORD: testpassword | |||||
POSTGRES_DB: swh-idx-storage | |||||
PGHOST: swh-idx-storage-db | |||||
PGUSER: postgres | |||||
# Web interface | |||||
swh-web: | swh-web: | ||||
build: ./dockerfiles/swh-web | build: ./dockerfiles/swh-web | ||||
image: swh/web | image: swh/web | ||||
ports: | ports: | ||||
- 5004:5004 | - 5004:5004 | ||||
depends_on: | depends_on: | ||||
- swh-objstorage | - swh-objstorage | ||||
- swh-storage | - swh-storage | ||||
Done Inline ActionsCan you please change the web.yml of the webapp services so that it uses the indexer as well. ardumont: Can you please change the web.yml of the webapp services so that it uses the indexer as well. | |||||
- swh-idx-storage |
why not a dash, isn't it supported?