Skip to content

Commit

Permalink
Add TLS enabled memcached service
Browse files Browse the repository at this point in the history
We need a separate instance of memcached since it will only accept
TLS connections when running with TLS configuration.

Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
  • Loading branch information
moisesguimaraes committed Apr 3, 2020
1 parent a2da388 commit 6be7d68
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,14 @@ jobs:
image: memcached:latest
ports:
- 11211/tcp
tls_memcached:
image: memcached:latest
ports:
- 11212:11211/tcp
volumes:
- ./extras/certs/gen:/opt/certs
command: >-
-Z -o ssl_verify_mode=1
-o ssl_chain_cert=/opt/certs/chain/server-rsa2048.pem
-o ssl_key=/opt/certs/key/server-rsa2048.key
-o ssl_ca_cert=/opt/certs/crt/client-ca-root.crt

0 comments on commit 6be7d68

Please sign in to comment.