29 lines
437 B
YAML
29 lines
437 B
YAML
version: "3.0"
|
|
|
|
networks:
|
|
yopass:
|
|
external: false
|
|
|
|
services:
|
|
redis:
|
|
image: redis:7.0.8-alpine3.17
|
|
restart: always
|
|
networks:
|
|
- yopass
|
|
volumes:
|
|
- redis:/data
|
|
|
|
yopass:
|
|
image: jhaals/yopass:11.4.6
|
|
restart: always
|
|
command: "--database redis --redis redis://redis:6379/0 --port 8080"
|
|
networks:
|
|
- yopass
|
|
ports:
|
|
- "8007:8080"
|
|
depends_on:
|
|
- redis
|
|
|
|
volumes:
|
|
redis:
|