Changeset View
Changeset View
Standalone View
Standalone View
docker/README.rst
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
This will build docker images and run them. Check everything is running | This will build docker images and run them. Check everything is running | ||||
fine with:: | fine with:: | ||||
~/swh-environment/docker$ docker-compose ps | ~/swh-environment/docker$ docker-compose ps | ||||
Name Command State Ports | Name Command State Ports | ||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||||
docker_amqp_1 docker-entrypoint.sh rabbi ... Up 15671/tcp, 0.0.0.0:5018->15672/tcp, 25672/tcp, 4369/tcp, 5671/tcp, 5672/tcp | docker_amqp_1 docker-entrypoint.sh rabbi ... Up 15671/tcp, 0.0.0.0:5018->15672/tcp, 25672/tcp, 4369/tcp, 5671/tcp, 5672/tcp | ||||
docker_flower_1 flower --broker=amqp://gue ... Up 0.0.0.0:5555->5555/tcp | docker_flower_1 flower --broker=amqp://gue ... Up 0.0.0.0:5555->5555/tcp | ||||
docker_kafka_1 start-kafka.sh Up 0.0.0.0:9092->9092/tcp | docker_kafka_1 start-kafka.sh Up 0.0.0.0:5092->5092/tcp | ||||
docker_swh-deposit-db_1 docker-entrypoint.sh postgres Up 5432/tcp | docker_swh-deposit-db_1 docker-entrypoint.sh postgres Up 5432/tcp | ||||
docker_swh-deposit_1 /entrypoint.sh Up 0.0.0.0:5006->5006/tcp | docker_swh-deposit_1 /entrypoint.sh Up 0.0.0.0:5006->5006/tcp | ||||
[...] | [...] | ||||
The startup of some containers may fail the first time for | The startup of some containers may fail the first time for | ||||
dependency-related problems. If some containers failed to start, just | dependency-related problems. If some containers failed to start, just | ||||
run the ``docker-compose up -d`` command again. | run the ``docker-compose up -d`` command again. | ||||
▲ Show 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | |||||
https://docs.softwareheritage.org/devel/getting-started.html#step-4-ingest-repositories | https://docs.softwareheritage.org/devel/getting-started.html#step-4-ingest-repositories | ||||
Exposed Ports | Exposed Ports | ||||
^^^^^^^^^^^^^ | ^^^^^^^^^^^^^ | ||||
Several services have their listening ports exposed on the host: | Several services have their listening ports exposed on the host: | ||||
- amqp: 5072 | - amqp: 5072 | ||||
- kafka: 5092 | - kafka: 5092 | ||||
vlorentz: why? (I see below that the port was not actually 5092; but why not set it to 5092 in docker… | |||||
Done Inline Actionsbecause it's what I had in my docker-compose when I pushed this diff :-) and 29092 is a palindrome, which is thus much better :-) But ok, I see, 5092 kinda make sense with other exposed ports. douardda: because it's what I had in my docker-compose when I pushed this diff :-) and 29092 is a… | |||||
- nginx: 5080 | - nginx: 5080 | ||||
And for SWH services: | And for SWH services: | ||||
- scheduler API: 5008 | - scheduler API: 5008 | ||||
- storage API: 5002 | - storage API: 5002 | ||||
- object storage API: 5003 | - object storage API: 5003 | ||||
- indexer API: 5007 | - indexer API: 5007 | ||||
▲ Show 20 Lines • Show All 589 Lines • Show Last 20 Lines |
why? (I see below that the port was not actually 5092; but why not set it to 5092 in docker-compose?)