Skip to content

Commit

Permalink
cloudreve
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Jan 25, 2024
1 parent c4721e1 commit 2404fff
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apps/alfresco/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,19 @@ services:
-Dindex.subsystem.name=solr6
-Dshare.host=$W9_URL
-Dshare.port=8080
-Dalfresco.host=localhost
-Dalfresco.host=$W9_URL
-Dalfresco.port=8080
-Dcsrf.filter.enabled=false
-Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
-Daos.baseUrlOverwrite=http://$W9_URL:8080/alfresco/aos
-Dmessaging.broker.url="failover:(nio://$W9_ID-activemq:61616)?timeout=3000&jms.useCompression=true"
-Ddeployment.method=DOCKER_COMPOSE
-DlocalTransform.core-aio.url=http://transform-core-aio:8090/
-DlocalTransform.core-aio.url=http://$W9_ID-transform:8090/
-XX:MinRAMPercentage=50
-XX:MaxRAMPercentage=80
transform-core-aio:
image: alfresco/alfresco-transform-core-aio:5.0.1
container_name: $W9_ID-transform # add by Websoft9
mem_limit: 1536m
environment:
JAVA_OPTS: >-
Expand All @@ -53,6 +54,7 @@ services:
share:
image: docker.io/alfresco/alfresco-share:23.1.1
mem_limit: 1g
container_name: $W9_ID-share # add by Websoft9
environment:
REPO_HOST: "alfresco"
REPO_PORT: "8080"
Expand Down Expand Up @@ -102,12 +104,14 @@ services:

content-app:
image: alfresco/alfresco-content-app:4.3.0
container_name: $W9_ID-app # add by Websoft9
mem_limit: 128m
environment:
APP_BASE_SHARE_URL: "http://localhost:8080/aca/#/preview/s"
APP_BASE_SHARE_URL: "http://$W9_URL:8080/aca/#/preview/s"

control-center:
image: quay.io/alfresco/alfresco-control-center:8.3.0
container_name: $W9_ID-control # add by Websoft9
mem_limit: 128m
environment:
APP_CONFIG_PROVIDER: "ECM"
Expand Down
8 changes: 8 additions & 0 deletions apps/cloudreve/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
W9_ID=cloudreve
W9_REPO=cloudreve/cloudreve
W9_DIST=community
W9_VERSION=latest

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####
5 changes: 5 additions & 0 deletions apps/cloudreve/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

## Release
### Fixes and Enhancements

2 changes: 2 additions & 0 deletions apps/cloudreve/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Cloudreve

26 changes: 26 additions & 0 deletions apps/cloudreve/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Ansible on Docker

This is an **Docker Compose solution** powered by [Websoft9](https://www.websoft9.com) based on Docker for Ansible:


- community: 2.16.1


## System Requirements

The following are the minimal [recommended requirements](https://docs.ansible.com/ansible/latest/installation_guide):

* **RAM**: 1 GB or more
* **CPU**: 1 cores or higher
* **Disk**: at least 1 GB of free space
* **bandwidth**: more fluent experience over 100M

## Install

You can install this Ansible by [How to use it?](https://github.com/Websoft9/docker-library#how-to-use-it).

If you want use Ansible with **Websoft9 Business Support** free, you can [subscribe Ansible](https://www.websoft9.com/apps) on Cloud platform

## Documentation

[Ansible Administrator Guide](https://support.websoft9.com/docs/ansible) powered by Websoft9
38 changes: 38 additions & 0 deletions apps/cloudreve/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# image: https://hub.docker.com/r/websoft9dev/ansible
# compose: https://docs.cloudreve.org/getting-started/install#yun-hang

version: '3.8'

services:
cloudreve:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
restart: unless-stopped
ports:
- "5212:5212"
volumes:
- temp_data:/data
- ./cloudreve/uploads:/cloudreve/uploads
- ./cloudreve/conf.ini:/cloudreve/conf.ini
- ./cloudreve/cloudreve.db:/cloudreve/cloudreve.db
- ./cloudreve/avatar:/cloudreve/avatar
depends_on:
- aria2
aria2:
container_name: $W9_ID-aria2
image: p3terx/aria2-pro
restart: unless-stopped
environment:
- RPC_SECRET=your_aria_rpc_token
- RPC_PORT=6800
volumes:
- ./aria2/config:/config
- temp_data:/data

networks:
default:
name: ${W9_NETWORK}
external: true

volumes:
temp_data:
Empty file.
20 changes: 20 additions & 0 deletions apps/cloudreve/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "cloudreve",
"trademark": "Cloudreve",
"release": true,
"fork_url": "",
"edition": [
{
"dist": "community",
"version": [
"2.16.1"
]
}
],
"requirements": {
"cpu": "1",
"memory": "1",
"disk": "1",
"url": "https://docs.cloudreve.org/getting-started/install#yun-hang"
}
}

0 comments on commit 2404fff

Please sign in to comment.