1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00: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