chore: update compose example to use keydb and fix network related issue

This commit is contained in:
Marie 2023-10-21 18:02:55 +02:00 committed by GitHub
parent 9eb094aeb9
commit bd639708ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@ version: "3"
services:
web:
# image: ghcr.io/transfem-org/sharkey:stable
build: .
restart: always
links:
@ -17,20 +18,19 @@ services:
- "3000:3000"
networks:
- shonk
- web
volumes:
- ./files:/sharkey/files
- ./.config:/sharkey/.config:ro
redis:
restart: always
image: redis:7-alpine
image: eqalpha/keydb:latest
networks:
- shonk
volumes:
- ./redis:/data
healthcheck:
test: "redis-cli ping"
test: "keydb-cli ping"
interval: 5s
retries: 20
@ -64,5 +64,3 @@ services:
networks:
shonk:
web:
external: true