Skip to content

Instantly share code, notes, and snippets.

@NicolaiSoeborg
Last active December 31, 2023 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save NicolaiSoeborg/d498ced432db5a07a02744942b2fb565 to your computer and use it in GitHub Desktop.
Save NicolaiSoeborg/d498ced432db5a07a02744942b2fb565 to your computer and use it in GitHub Desktop.
Docker (compose) socat mitm debug memcached
version: '3.8'
services:
web:
build: ./
ports:
- "5000:80"
depends_on:
- memcached
memcached:
image: alpine/socat
entrypoint: [ "socat", "-v", "-v", "tcp-listen:11211,fork,reuseaddr", "tcp-connect:realmemcached:11211" ]
depends_on:
- realmemcached
realmemcached:
image: memcached:alpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment