gramps-project / gramps-web

Frontend for Gramps Web
https://www.grampsweb.org
GNU Affero General Public License v3.0
336 stars 48 forks source link

Qualify redis image name #461

Closed jose1711 closed 3 days ago

jose1711 commented 3 days ago

Following the documentation just substituting docker with podman:

$ sudo podman-compose up
['podman', '--version', '']
using podman version: 4.3.1
** excluding:  set()
['podman', 'network', 'exists', 'grampsweb_default']
podman create --name=grampsweb_redis --label io.podman.compose.config-hash=123 --label io.podman.compose.project=grampsweb --label io.podman.compose.version=0.0.1 --label com.docker.compose.project=grampsweb --label com.docker.compose.project.working_dir=/home/jose/podman-builds/grampsweb --label com.docker.compose.project.config_files=docker-compose.yml --label com.docker.compose.container-number=1 --label com.docker.compose.service=grampsweb_redis --net grampsweb_default --network-alias grampsweb_redis --restart always redis:7.2.4-alpine
Error: short-name "redis:7.2.4-alpine" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
exit code: 125
..
..
[2024-06-29 13:41:11,891: ERROR/MainProcess] consumer: Cannot connect to redis://grampsweb_redis:6379/0: Error -2 connecting to grampsweb_redis:6379. Name or service not known..
Trying again in 14.00 seconds... (7/100)

To fix one has to replace

image: redis:7.2.4-alpine

with

image: docker.io/library/redis:7.2.4-alpine
DavidMStraub commented 3 days ago

This repository does not contain any reference to a redis image, neither does https://github.com/gramps-project/gramps-web-api. So this is only a documentation detail. And right now, our documentation only mentions docker, not podman. If you want to replace all short image names by long ones in the documentation, feel free to do so by submitting a pull request to https://github.com/gramps-project/gramps-web-docs. But please make sure to test it with docker first.