Skip to content

Commit

Permalink
fixing dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: ahmedsobeh <ahmed.sobeh@aiven.io>
  • Loading branch information
ahmedsobeh committed Jul 15, 2024
1 parent 5798bbe commit df57bdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dockers/stunnel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:latest
MAINTAINER ahmedsobeh <ahmedszakaria@gmail.com>


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

COPY conf /etc/stunnel/conf.d
COPY keys /etc/stunnel/keys
Expand Down
10 changes: 4 additions & 6 deletions dockers/stunnel/conf/stunnel.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[valkey]
client = no
accept = 0.0.0.0:6666
accept = 6666
connect = valkey:6379
cert = /etc/stunnel/keys/server.pem
key = /etc/stunnel/keys/server.key
CAfile = /etc/stunnel/keys/ca.pem
verify = 2
cert = /etc/stunnel/keys/server-cert.pem
key = /etc/stunnel/keys/server-key.pem
verify = 0

0 comments on commit df57bdb

Please sign in to comment.