Skip to content

Commit

Permalink
Merge pull request #56 from valkey-io/issue-50
Browse files Browse the repository at this point in the history
Replace use of redisfab/stunnel with a Dockerfile
  • Loading branch information
ahmedsobeh authored Jul 15, 2024
2 parents 0109139 + 4108a39 commit 6d69781
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ services:
- all

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


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

COPY conf /etc/stunnel/conf
COPY keys /etc/stunnel/keys

CMD ["stunnel", "/etc/stunnel/conf/stunnel.conf"]
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
foreground = yes

[valkey]
accept = 6666
connect = valkey:6379
Expand Down

0 comments on commit 6d69781

Please sign in to comment.