Skip to content

Commit

Permalink
feat(db): add redis to compose file
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb committed Sep 19, 2023
1 parent 92df106 commit 300d794
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ services:
context: .
depends_on:
- vpn-client
- redis
volumes_from:
- vpn-client:rw
networks:
Expand All @@ -56,6 +57,14 @@ services:
healthcheck:
test: grpcurl -plaintext localhost:50151 list || exit 1

redis:
image: redis:7.2.1-alpine3.18
networks:
- internet
- intranet
healthcheck:
test: ["CMD", "redis-cli", "--raw", "incr", "ping"]

opi-test:
image: ghcr.io/opiproject/godpu:main@sha256:59d56d2f2bfe500b102ca197d0a87c897f05a565bed9de0f827f4f1ff71999f7
network_mode: service:vpn-server
Expand Down

0 comments on commit 300d794

Please sign in to comment.