Skip to content

Commit 73940ba

Browse files
committed
add env
add user, password
1 parent 3c839c7 commit 73940ba

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ services:
6060
image: memcached:latest
6161
ports:
6262
- 11211:11211
63+
environment:
64+
- MEMCACHED_USERNAME=${MEMCACHED_USERNAME}
65+
- MEMCACHED_PASSWORD=${MEMCACHED_PASSWORD}
6366
command:
6467
- '-m 128'
6568
deploy:

env-example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44

55
# e.g. /Users/USER_NAME/Projects
66
VOLUMES_DRIVER=
7+
8+
9+
10+
# memcached
11+
MEMCACHED_USERNAME=
12+
MEMCACHED_PASSWORD=

0 commit comments

Comments
 (0)