mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-04 20:14:56 +01:00
add webdis
This commit is contained in:
@@ -1,12 +1,22 @@
|
||||
webdis:
|
||||
image: anapsix/webdis
|
||||
ports:
|
||||
- "7379:7379"
|
||||
environment:
|
||||
- REDIS_HOST=x.x.x.x
|
||||
- REDIS_PORT=6379
|
||||
- REDIS_AUTH=null
|
||||
- DATABASE=0
|
||||
- HTTP_HOST=0.0.0.0
|
||||
- HTTP_PORT=7379
|
||||
restart: unless-stopped
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user