2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update nextcloud

This commit is contained in:
kev
2022-01-07 18:20:29 +08:00
parent ee3e571f9b
commit a25c932af3
5 changed files with 67 additions and 61 deletions

View File

@@ -8,13 +8,16 @@ redis
## docker-compose.yml
```yaml
redis:
image: redis:alpine
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data:/data
restart: always
version: "3.8"
services:
redis:
image: redis:6-alpine
command: --save 900 1
ports:
- "6379:6379"
volumes:
- ./data:/data
restart: unless-stopped
```
[1]: https://redis.io/

View File

@@ -1,8 +1,10 @@
redis:
image: redis:alpine
command: --save 900 1
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data:/data
restart: always
version: "3.8"
services:
redis:
image: redis:6-alpine
command: --save 900 1
ports:
- "6379:6379"
volumes:
- ./data:/data
restart: unless-stopped