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