diff --git a/README.md b/README.md index 9829107..cf84863 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and # Cloud & File Sharing - [FileRun](apps/cloud/filerun.md) - [NextCloud](apps/cloud/nextcloud.md) +- [oasis](apps/cloud/oasis.md) - [Pydio](apps/cloud/pydio.md) - [Seafile](apps/cloud/seafile.md) diff --git a/apps/cloud/oasis.md b/apps/cloud/oasis.md new file mode 100644 index 0000000..9868e76 --- /dev/null +++ b/apps/cloud/oasis.md @@ -0,0 +1,31 @@ +# Seafile + +- UX needs work. +- Drag & drop upload doesn't work in Safari +- Extremely basic in functionality + +
+ +- [Github repo](https://github.com/machengim/oasis) +- [DockerHub repo](https://hub.docker.com/r/machengim/oasis) + + +![Screenshot](oasis.png) + + +## docker-compose.yml +```yml +--- +services: + oasis: + image: machengim/oasis + container_name: oasis + restart: unless-stopped + environment: + - TZ=Europe/Dublin + ports: + - "3123:8000" + volumes: + - ./data:/opt/oasis/data + - ./storage:/home/storage +``` diff --git a/apps/cloud/oasis.png b/apps/cloud/oasis.png new file mode 100644 index 0000000..cce6ae4 Binary files /dev/null and b/apps/cloud/oasis.png differ diff --git a/apps/cloud/seafile.md b/apps/cloud/seafile.md index 6498a8d..f71e570 100644 --- a/apps/cloud/seafile.md +++ b/apps/cloud/seafile.md @@ -1,5 +1,5 @@ # Seafile -- Too simple, just raw files nothing more. +- Very simple, just raw files nothing more. - Has mobile apps.
@@ -7,55 +7,62 @@ - [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) +- [Docs](https://manual.seafile.com/docker/deploy_seafile_with_docker/) + ![Screenshot](seafile.png) ## docker-compose.yml +Original file [here](https://download.seafile.com/d/320e8adf90fa43ad8fee/files/?p=/docker/docker-compose.yml). + ```yml -version: '2.0' +--- services: db: - image: mariadb:10.1 + image: mariadb:10.5 container_name: seafile-mysql environment: - - MYSQL_ROOT_PASSWORD=db_dev # Requested, set the root's password of MySQL service. - - MYSQL_LOG_CONSOLE=true + - MYSQL_ROOT_PASSWORD=db_dev + - MYSQL_LOG_CONSOLE=false volumes: - - ./db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store. - networks: - - seafile-net + - ./db:/var/lib/mysql memcached: - image: memcached:1.5.6 + image: memcached:1.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: + environment: + - DB_HOST=db + - DB_USER=root + - DB_ROOT_PASSWD=db_dev + - TIME_ZONE=Europe/Dublin + - SEAFILE_ADMIN_EMAIL=me@example.com + - SEAFILE_ADMIN_PASSWORD=asecret + - SEAFILE_SERVER_LETSENCRYPT=false + - SEAFILE_SERVER_HOSTNAME=docs.seafile.com + ports: + - "3123:80" + volumes: + - ./data:/shared ``` + +**Important**: Variable `SEAFILE_SERVER_HOSTNAME` must be set for the file upload to work correctly. +If you're running it locally, set it to your server's IP:port, e.g. `192.168.1.123:3123`. + + +## Tips & tricks + +### Dark theme + +1. Copy the css from here: https://github.com/udlch/seafile_ce-edition_custom_theme/blob/master/sf_dark_theme_7.1.3.css +2. Check the box in: `System Admin / Settings / Use custom CSS` +3. Paste the css into the `Custom CSS` box +4. Save diff --git a/apps/cloud/seafile.png b/apps/cloud/seafile.png index 05075c1..19e3b9c 100644 Binary files a/apps/cloud/seafile.png and b/apps/cloud/seafile.png differ