Utoljára aktív 5 hours ago

Revízió 72d1291122c32ab0629c6261719a1146d6045195

nextcloud-compose.yml Eredeti
1services:
2 postgres:
3 image: postgres:17-alpine
4 restart: always
5 volumes:
6 - ./postgres:/var/lib/postgresql/data
7 environment:
8 - POSTGRES_DB=nextcloud
9 - POSTGRES_USER=nextcloud
10 - POSTGRES_PASSWORD=XYS22mtSXE5BSP9icaPxFZqw
11 networks:
12 - nextcloud-net
13
14 valkey:
15 image: valkey/valkey:latest
16 restart: always
17 mem_limit: 2g
18 environment:
19 - REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
20 - REDIS_PASSWORD=6dfK8X6upA4LmSerMlp11YKW
21# ports:
22# - 6379:6379
23 volumes:
24 - ./valkey:/data
25 networks:
26 - nextcloud-net
27
28 app:
29 container_name: nextcloud
30 image: nextcloud:32
31 restart: unless-stopped
32 mem_limit: 4g
33 ports:
34 - 8080:80
35 volumes:
36 - ./nextcloud-data:/var/www/html
37 environment:
38 - POSTGRES_HOST=postgres
39 - POSTGRES_DB=nextcloud
40 - POSTGRES_USER=nextcloud
41 - POSTGRES_PASSWORD=XYS22mtSXE5BSP9icaPxFZqw
42
43 - REDIS_HOST=valkey
44 - REDIS_HOST_PASSWORD=6dfK8X6upA4LmSerMlp11YKW
45 networks:
46 - nextcloud-net
47 depends_on:
48 - postgres
49 - valkey
50
51 cron:
52 image: nextcloud:32
53 container_name: nextcloud-cron
54 restart: always
55 mem_limit: 4g
56 volumes:
57 - ./nextcloud-data:/var/www/html
58 entrypoint: /cron.sh
59 depends_on:
60 - postgres
61 - valkey
62 networks:
63 - nextcloud-net
64
65networks:
66 nextcloud-net: