1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/webdis/docker-compose.yml
2021-05-10 16:17:55 +08:00

23 lines
369 B
YAML

version: "3.8"
services:
webdis:
image: vimagick/webdis
ports:
- "7379:7379"
volumes:
- ./data/webdis:/etc/webdis
depends_on:
- redis
restart: unless-stopped
redis:
image: redis:alpine
command: --save 900 1
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data/redis:/data
restart: unless-stopped