1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-10 22:31:28 +02: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

@@ -3,7 +3,7 @@ version: "3.8"
services:
nextcloud:
image: arm32v7/nextcloud:22
image: nextcloud:stable
ports:
- "8080:80"
volumes:
@@ -13,14 +13,14 @@ services:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=nextcloud
- REDIS_HOST=redis
depends_on:
- postgres
- redis
restart: unless-stopped
postgres:
image: arm32v7/postgres:13-alpine
ports:
- "5432:5432"
image: postgres:14-alpine
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
@@ -28,3 +28,10 @@ services:
- POSTGRES_PASSWORD=nextcloud
- POSTGRES_DB=nextcloud
restart: unless-stopped
redis:
image: redis:6-alpine
command: --save 900 1
volumes:
- ./data/redis:/data
restart: unless-stopped