Enable data persistency
This commit is contained in:
parent
72d6ba03e2
commit
ad16a06c6f
|
@ -5,21 +5,24 @@ networks:
|
|||
external: false
|
||||
|
||||
services:
|
||||
memcached:
|
||||
image: memcached:1.6.17
|
||||
redis:
|
||||
image: redis:7.0.8-alpine3.17
|
||||
restart: always
|
||||
networks:
|
||||
- yopass
|
||||
expose:
|
||||
- "11211"
|
||||
volumes:
|
||||
- redis:/data
|
||||
|
||||
yopass:
|
||||
image: jhaals/yopass:11.4.6
|
||||
restart: always
|
||||
command: "--memcached=memcached:11211 --port 80"
|
||||
command: "--database redis --redis redis://redis:6379/0 --port 8080"
|
||||
networks:
|
||||
- yopass
|
||||
ports:
|
||||
- "8007:80"
|
||||
- "8007:8080"
|
||||
depends_on:
|
||||
- memcached
|
||||
- redis
|
||||
|
||||
volumes:
|
||||
redis:
|
||||
|
|
Loading…
Reference in a new issue