Skip to content

Commit

Permalink
added a docker file to create valkey's own container and modified doc…
Browse files Browse the repository at this point in the history
…ker-compose to reflect it

Signed-off-by: ahmedsobeh <[email protected]>
  • Loading branch information
ahmedsobeh committed Jul 15, 2024
1 parent 0109139 commit bba4943
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ services:
- all

stunnel:
image: redisfab/stunnel:latest
build:
context: ./dockers/stunnel
depends_on:
- valkey
ports:
Expand Down
11 changes: 11 additions & 0 deletions dockers/stunnel/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ubuntu
MAINTAINER ahmedsobeh <[email protected]>

EXPOSE 6380

RUN apt-get update && apt-get install -y stunnel4

VOLUME /stunnel
ADD ./stunnel.conf /stunnel/

CMD [ "./stunnel4", "/stunnel/stunnel.conf" ]

0 comments on commit bba4943

Please sign in to comment.