Changeset View
Changeset View
Standalone View
Standalone View
docker/docker-compose.yml
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | # Scheduler | ||||
swh-scheduler-db: | swh-scheduler-db: | ||||
image: postgres:11 | image: postgres:11 | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
- ./env/scheduler-db.env | - ./env/scheduler-db.env | ||||
environment: | environment: | ||||
# unset PGHOST as db service crashes otherwise | # unset PGHOST as db service crashes otherwise | ||||
PGHOST: | PGHOST: | ||||
# unset POSTGRES_DB: we're handling db creation ourselves in the backend | |||||
# service entrypoint | |||||
POSTGRES_DB: | |||||
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 51 Lines • ▼ Show 20 Lines | # Graph storage | ||||
swh-storage-db: | swh-storage-db: | ||||
image: postgres:11 | image: postgres:11 | ||||
env_file: | env_file: | ||||
- ./env/storage-db.env | - ./env/storage-db.env | ||||
environment: | environment: | ||||
# unset PGHOST as db service crashes otherwise | # unset PGHOST as db service crashes otherwise | ||||
PGHOST: | PGHOST: | ||||
# unset POSTGRES_DB: we're handling db creation ourselves in the backend | |||||
# service entrypoint | |||||
POSTGRES_DB: | |||||
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 30 Lines | # Indexer storage | ||||
swh-idx-storage-db: | swh-idx-storage-db: | ||||
image: postgres:11 | image: postgres:11 | ||||
env_file: | env_file: | ||||
- ./env/indexers-db.env | - ./env/indexers-db.env | ||||
environment: | environment: | ||||
# unset PGHOST as db service crashes otherwise | # unset PGHOST as db service crashes otherwise | ||||
PGHOST: | PGHOST: | ||||
# unset POSTGRES_DB: we're handling db creation ourselves in the backend | |||||
# service entrypoint | |||||
POSTGRES_DB: | |||||
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 | ||||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | # Web interface | ||||
swh-vault-db: | swh-vault-db: | ||||
image: postgres:11 | image: postgres:11 | ||||
env_file: | env_file: | ||||
- ./env/vault-db.env | - ./env/vault-db.env | ||||
environment: | environment: | ||||
# unset PGHOST as db service crashes otherwise | # unset PGHOST as db service crashes otherwise | ||||
PGHOST: | PGHOST: | ||||
# unset POSTGRES_DB: we're handling db creation ourselves in the backend | |||||
# service entrypoint | |||||
POSTGRES_DB: | |||||
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 | ||||
environment: | environment: | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |