Changeset View
Changeset View
Standalone View
Standalone View
docker/docker-compose.yml
Show First 20 Lines • Show All 237 Lines • ▼ Show 20 Lines | swh-storage: | ||||
environment: | environment: | ||||
SWH_CONFIG_FILENAME: /storage.yml | SWH_CONFIG_FILENAME: /storage.yml | ||||
STORAGE_BACKEND: postgresql | STORAGE_BACKEND: postgresql | ||||
entrypoint: /entrypoint.sh | entrypoint: /entrypoint.sh | ||||
volumes: | volumes: | ||||
- "./conf/storage.yml:/storage.yml:ro" | - "./conf/storage.yml:/storage.yml:ro" | ||||
- "./services/swh-storage/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-storage/entrypoint.sh:/entrypoint.sh:ro" | ||||
# Winery object storage | |||||
swh-winery-db: | |||||
image: postgres:13 | |||||
env_file: | |||||
- ./env/common_python.env | |||||
- ./env/winery-db.env | |||||
swh-winery: | |||||
build: ./ | |||||
image: swh/stack | |||||
ports: | |||||
- 5012:5012 | |||||
depends_on: | |||||
- swh-winery-db | |||||
env_file: | |||||
- ./env/common_python.env | |||||
environment: | |||||
SWH_CONFIG_FILENAME: /winery.yml | |||||
entrypoint: /entrypoint.sh | |||||
volumes: | |||||
- "./conf/winery.yml:/winery.yml:ro" | |||||
- "./services/swh-winery/entrypoint.sh:/entrypoint.sh:ro" | |||||
# Object storage | # Object storage | ||||
swh-objstorage: | swh-objstorage: | ||||
build: ./ | build: ./ | ||||
image: swh/stack | image: swh/stack | ||||
ports: | ports: | ||||
- 5003:5003 | - 5003:5003 | ||||
env_file: | env_file: | ||||
▲ Show 20 Lines • Show All 296 Lines • Show Last 20 Lines |