mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-12-20 02:51:14 +00:00
more
This commit is contained in:
BIN
apps/cloud/filerun.jpg
Normal file
BIN
apps/cloud/filerun.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 183 KiB |
53
apps/cloud/filerun.md
Normal file
53
apps/cloud/filerun.md
Normal file
@@ -0,0 +1,53 @@
|
||||
# FileRun
|
||||
Mobile apps are just webdav clients.
|
||||
|
||||
<br>
|
||||
|
||||
- [Homepage](https://filerun.com/)
|
||||
- [DockerHub repo](https://hub.docker.com/r/afian/filerun/)
|
||||
- [Docs](https://docs.filerun.com/)
|
||||
- [Demo](https://demo.filerun.co/?username=admin&password=admin)
|
||||
|
||||

|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
```yml
|
||||
version: '2'
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.1
|
||||
container_name: filerun-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: your_mysql_root_password
|
||||
MYSQL_USER: db_user
|
||||
MYSQL_PASSWORD: db_user_password_01
|
||||
MYSQL_DATABASE: filerundb
|
||||
volumes:
|
||||
- ./data/db:/var/lib/mysql
|
||||
|
||||
web:
|
||||
image: afian/filerun
|
||||
container_name: filerun
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
FR_DB_HOST: db
|
||||
FR_DB_PORT: 3306
|
||||
FR_DB_NAME: filerundb
|
||||
FR_DB_USER: db_user
|
||||
FR_DB_PASS: db_user_password_01
|
||||
APACHE_RUN_USER: www-data
|
||||
APACHE_RUN_USER_ID: 33
|
||||
APACHE_RUN_GROUP: www-data
|
||||
APACHE_RUN_GROUP_ID: 33
|
||||
depends_on:
|
||||
- db
|
||||
links:
|
||||
- db:db
|
||||
ports:
|
||||
- "3090:80"
|
||||
volumes:
|
||||
- ./data/html:/var/www/html
|
||||
- ./data/user-files:/user-files
|
||||
```
|
||||
82
apps/cloud/nextcloud.md
Normal file
82
apps/cloud/nextcloud.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# NextCloud
|
||||
- Mobile apps are just for files, not other apps (e.g. tasks) installed in NextCloud.
|
||||
|
||||
<br>
|
||||
|
||||
- [Homepage](https://nextcloud.com/)
|
||||
- [Github repo](https://github.com/nextcloud)
|
||||
- [DockerHub repo](https://hub.docker.com/_/nextcloud/)
|
||||
- [Breeze dark theme](https://github.com/mwalbeck/nextcloud-breeze-dark) - some stuff doesn't work
|
||||
- [Docs](https://docs.nextcloud.com/server/20/admin_manual/)
|
||||
- [Demo](https://try.nextcloud.com/)
|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
```yml
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
image: nextcloud:latest
|
||||
container_name: nextcloud
|
||||
restart: unless-stopped
|
||||
links:
|
||||
- db
|
||||
- redis
|
||||
ports:
|
||||
- 3100:80
|
||||
environment:
|
||||
- MYSQL_PASSWORD=nextcloud
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_HOST=db
|
||||
- TRUSTED_PROXIES= # e.g. HOST IP
|
||||
- OVERWRITEPROTOCOL=https
|
||||
- OVERWRITEHOST=nextcloud.domain.com
|
||||
- REDIS_HOST=redis
|
||||
- REDIS_HOST_PASSWORD=nextcloud # must be set, because of a bug
|
||||
volumes:
|
||||
- ./nextcloud:/var/www/html
|
||||
- ./data:/var/www/html/data
|
||||
|
||||
cron:
|
||||
image: nextcloud:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./nextcloud:/var/www/html
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
container_name: nextcloud-db
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||
- MYSQL_PASSWORD=nextcloud
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: nextcloud-redis
|
||||
restart: unless-stopped
|
||||
command: redis-server --requirepass nextcloud
|
||||
environment:
|
||||
- TZ=Europe/Dublin
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
expose:
|
||||
- 6379
|
||||
```
|
||||
|
||||
## Tips & Tricks
|
||||
|
||||
### Generate password/secret key
|
||||
```sh
|
||||
openssl rand -base64 32
|
||||
```
|
||||
48
apps/cloud/pydio.md
Normal file
48
apps/cloud/pydio.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# Pydio Cells
|
||||
- Overly complex and... weird.
|
||||
- Has mobile apps.
|
||||
|
||||
<br>
|
||||
|
||||
- [Homepage](https://pydio.com/en/features/pydio-cells-overview)
|
||||
- [Github repo](https://github.com/pydio/cells)
|
||||
- [DockerHub repo](https://hub.docker.com/r/pydio/cells/)
|
||||
- [Docs](https://pydio.com/en/docs/administration-guides)
|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
```yml
|
||||
---
|
||||
version: '3'
|
||||
services:
|
||||
cells:
|
||||
image: pydio/cells:latest
|
||||
container_name: pydio
|
||||
hostname: cells
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3060:8080"
|
||||
environment:
|
||||
- CELLS_NO_TLS=0
|
||||
- CELLS_BIND=0.0.0.0:8080
|
||||
- CELLS_EXTERNAL=pydio.domain.com
|
||||
- EXTERNAL_BIND=pydio.domain.com
|
||||
volumes:
|
||||
- "./datadir:/var/cells/data"
|
||||
- "./workingdir:/var/cells"
|
||||
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
container_name: pydio-db
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: secret
|
||||
MYSQL_DATABASE: cells
|
||||
MYSQL_USER: pydio
|
||||
MYSQL_PASSWORD: secret
|
||||
command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
|
||||
volumes:
|
||||
- "./mysqldir:/var/lib/mysql"
|
||||
```
|
||||
61
apps/cloud/seafile.md
Normal file
61
apps/cloud/seafile.md
Normal file
@@ -0,0 +1,61 @@
|
||||
# Seafile
|
||||
- Too simple, just raw files nothing more.
|
||||
- Has mobile apps.
|
||||
|
||||
<br>
|
||||
|
||||
- [Homepage](https://www.seafile.com/en/home/)
|
||||
- [Github repo](https://github.com/haiwen/seafile)
|
||||
- [DockerHub repo](https://hub.docker.com/r/seafileltd/seafile-mc)
|
||||
- [Docs](https://download.seafile.com/d/320e8adf90fa43ad8fee/files/?p=%2Findex.md)
|
||||
|
||||
![Screenshot]()
|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
```yml
|
||||
version: '2.0'
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.1
|
||||
container_name: seafile-mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=db_dev # Requested, set the root's password of MySQL service.
|
||||
- MYSQL_LOG_CONSOLE=true
|
||||
volumes:
|
||||
- ./db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
|
||||
networks:
|
||||
- seafile-net
|
||||
|
||||
memcached:
|
||||
image: memcached:1.5.6
|
||||
container_name: seafile-memcached
|
||||
entrypoint: memcached -m 256
|
||||
networks:
|
||||
- seafile-net
|
||||
|
||||
seafile:
|
||||
image: seafileltd/seafile-mc:latest
|
||||
container_name: seafile
|
||||
ports:
|
||||
- "8080:80"
|
||||
# - "443:443" # If https is enabled, cancel the comment.
|
||||
volumes:
|
||||
- ./data:/shared # Requested, specifies the path to Seafile data persistent store.
|
||||
environment:
|
||||
- DB_HOST=db
|
||||
- DB_ROOT_PASSWD=db_dev # Requested, the value shuold be root's password of MySQL service.
|
||||
- TIME_ZONE=Europe/Dublin # Optional, default is UTC. Should be uncomment and set to your local time zone.
|
||||
- SEAFILE_ADMIN_EMAIL=me@example.com # Specifies Seafile admin user, default is 'me@example.com'.
|
||||
- SEAFILE_ADMIN_PASSWORD=asecret # Specifies Seafile admin password, default is 'asecret'.
|
||||
- SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
|
||||
- SEAFILE_SERVER_HOSTNAME=docs.seafile.com # Specifies your host name if https is enabled.
|
||||
depends_on:
|
||||
- db
|
||||
- memcached
|
||||
networks:
|
||||
- seafile-net
|
||||
|
||||
networks:
|
||||
seafile-net:
|
||||
```
|
||||
Reference in New Issue
Block a user