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