- Nov 17, 2021
-
-
David Douard authored
a bit
-
- Nov 09, 2021
-
-
David Douard authored
- make gunicorn workers and threads configurable by environment variables, - make gunicorn report metrics to statds
-
David Douard authored
to prevent cases where the upstream server IP has changed (reload, rescaling, etc.) but nginx still uses the old (cached) IP.
-
David Douard authored
-
- Oct 05, 2021
-
-
David Douard authored
we do want the main swh command to receive SIGTERM from docker so it does gracefully disconnect the kafka consumer, thus properly leave the consumer group. This prevents from having to wait for the kafka server to figure that a client actually left the consumer group before rebalancing the partitions. TL;DR: allows to make a restart/rescaling of the replayers much faster.
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
and improve the swh-wen entrypoint.
-
- Oct 22, 2020
-
-
- Oct 09, 2020
-
-
David Douard authored
The orgname only scheme requires to be registered as "official image", which we may want to be at some point, but not ready yet. https://docs.docker.com/docker-hub/official_images/
-
David Douard authored
- merge Dockerfiles into a single one using multistage build - create a replayer-specific image - add `name:` to configs so it's a bit easier to deploy a config update (well it's sure a bit easier to document this actually), - add missing wait-for-it statements in replayer/entrypoint.sh The reason for the docker image renaming is to make it easier to organise software heritage images on the docker hub; we now have only one "entrypoint".
-
- Sep 30, 2020
-
-
David Douard authored
swh-storage now support several db flavors (default, mirror, replica) and `swh db` has now separate tools for the db creation and the db initialization. Modify the entrypoint/helper tools in the base image accordingly. Also improve the README file.
-
- Sep 29, 2020
-
-
David Douard authored
-
- Sep 18, 2020
-
-
David Douard authored
-
David Douard authored
- Use 'docker-compose config' to generate the merged compose file since 'docker [stack] deploy' is buggy. - Use 'docker stack deploy' instead of the experimental 'docker deploy' command directly. - Remove all the remote/by-topic example files; these are confusing.
-
David Douard authored
This changes also the way the (storage) database is initialized: it now checks whether the db exists and is initilized before attempting to execute the `swh db init` tool. The added fix_storage_for_mirror shell function executes a small sql script that remove any constraint that can prevent the mirror storage from working.
-
David Douard authored
To publish built images, you now need to specify it using: PUBLISH=yes ./build_images.sh from the images/ directory.
-
- Aug 19, 2020
-
-
David Douard authored
-
David Douard authored
to select the swh images to use, like: image: softwareheritage/base:${SWH_IMAGE_TAG:-latest} Also add example config files for the graph-replayer-remote-bytopic.yml replayer config.
-
David Douard authored
It build docker images with curent datetime as tag and upload them to the docker's hub if docker's current user is 'softwareheritage'. It will build images like: softwareheritage/base:20200819-112604 softwareheritage/web:20200819-112604 Note that both images (base and web) will have the same datestamp.
-
- Jun 26, 2020
-
-
David Douard authored
-
David Douard authored
-
David Douard authored
idea is be able to easily rebuild the images including latest swh packages using docker image cache (prevent from having to run "docker build --no-cache").
-
David Douard authored
-
David Douard authored
-
- Jun 15, 2020
-
-
David Douard authored
-
David Douard authored
where replayer code has been moved.
-
David Douard authored
as required by recent swh-web versions.
-
- Mar 03, 2020
-
-
David Douard authored
-
- Feb 28, 2020
-
-
David Douard authored
-
David Douard authored
-
David Douard authored
use a proxied access to the prometheus server so it does not need the user's browser to have direct access to the prometheus nor nginx container.
-
- Feb 06, 2020
-
-
David Douard authored
prevent collision with dev environment docker setup.
-
David Douard authored
this allows to execute directly shell commands without the need for an interactive session.
-
- Feb 05, 2020
-
-
David Douard authored
by not installing recommended debian packages.
-
- Jan 23, 2020
-
-
David Douard authored
- activate statsd reporting in all services, - split the content-replayer service by type/topic
-
David Douard authored
-