@@ -46,6 +46,10 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- cloudreve
|
- cloudreve
|
||||||
- caddy_network
|
- caddy_network
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1G
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
image: nextcloud
|
image: nextcloud
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
- caddy_network
|
- caddy_network
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -35,7 +35,7 @@ services:
|
|||||||
container_name: nextcloud-db
|
container_name: nextcloud-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
volumes:
|
volumes:
|
||||||
- {{ nextcloud_data_dir }}/database:/var/lib/mysql
|
- {{ nextcloud_data_dir }}/database:/var/lib/mysql
|
||||||
@@ -56,8 +56,8 @@ services:
|
|||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: redis
|
container_name: redis
|
||||||
volumes:
|
volumes:
|
||||||
- {{ nextcloud_data_dir }}/redis:/data
|
- {{ nextcloud_data_dir }}/redis:/data
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user