Skip to content

Commit cf89670

Browse files
committed
add memcached support
1 parent 40899bc commit cf89670

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ services:
3434
- /var/lib/postgres
3535
- /var/lib/mariadb
3636
- /var/lib/redis
37+
- /var/lib/memcached
3738

3839
### MySQL Container #########################################
3940

@@ -108,4 +109,13 @@ services:
108109
links:
109110
- beanstalkd
110111

112+
### Memcached Container #########################################
113+
114+
memcached:
115+
build: ./memcached
116+
volumes_from:
117+
- data
118+
ports:
119+
- "11211:11211"
120+
111121
### Add more Containers below ###############################

memcached/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM memcached:latest
2+
3+
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
4+
5+
CMD ["memcached"]
6+
7+
EXPOSE 11211

0 commit comments

Comments
 (0)