mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-13 21:40:45 +01:00
chore: update compose example to use keydb and fix network related issue
This commit is contained in:
parent
9eb094aeb9
commit
bd639708ff
1 changed files with 3 additions and 5 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue