Changeset View
Changeset View
Standalone View
Standalone View
docker-compose.yml
Show First 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | swh-web: | ||||
ports: | ports: | ||||
- 5004:5004 | - 5004:5004 | ||||
depends_on: | depends_on: | ||||
- swh-objstorage | - swh-objstorage | ||||
- swh-storage | - swh-storage | ||||
- swh-idx-storage | - swh-idx-storage | ||||
environment: | environment: | ||||
VERBOSITY: 3 | VERBOSITY: 3 | ||||
DJANGO_SETTINGS_MODULE: localsettings | DJANGO_SETTINGS_MODULE: swh.web.settings.development | ||||
SWH_CONFIG_FILENAME: /web.yml | SWH_CONFIG_FILENAME: /web.yml | ||||
PYTHONPATH: /srv/softwareheritage | |||||
entrypoint: /entrypoint.sh | entrypoint: /entrypoint.sh | ||||
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" | ||||
- "./services/swh-web/settings.py:/srv/softwareheritage/localsettings.py:ro" | |||||
swh-deposit-db: | swh-deposit-db: | ||||
image: postgres:11 | image: postgres:11 | ||||
env_file: | env_file: | ||||
- ./env/deposit-db.env | - ./env/deposit-db.env | ||||
environment: | environment: | ||||
# unset PGHOST as db service crashes otherwise | # unset PGHOST as db service crashes otherwise | ||||
PGHOST: | PGHOST: | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |