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