Changeset View
Changeset View
Standalone View
Standalone View
docker-compose.yml
version: '2.0' | version: '2.0' | ||||
services: | services: | ||||
pgsql-storage: | pgsql-storage: | ||||
image: swh-storage-pg | image: swh-storage-pg | ||||
environment: | environment: | ||||
POSTGRES_PASSWORD: testpassword | POSTGRES_PASSWORD: testpassword | ||||
swh-storage: | swh-storage: | ||||
image: swh-storage | image: swh-storage | ||||
ports: | ports: | ||||
- 5002:5002 | - 5002:5002 | ||||
environment: | |||||
db: "host=pgsql-storage port=5432 user=postgres password=testpassword" | |||||
objstorage_url: "http://swh-objstorage:5003/" | |||||
swh-objstorage: | swh-objstorage: | ||||
image: swh-objstorage | image: swh-objstorage | ||||
ports: | ports: | ||||
- 5003:5003 | - 5003:5003 |