Seafile ... What Synology Drive could have been

Currently reading
Seafile ... What Synology Drive could have been

Telos

Subscriber
3,791
1,297
NAS
DS4l8play, DS202j, DS3623xs+, DSM 7.3.3-25847
Last edited:
I wanted to get Seafile running on Docker. There's a docker-compose template available here.

With only a path change, and a few minor strikeouts, I came up with this unoriginal docker-compose...

Code:
version: '2.0'
services:
  db:
    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
    volumes:
      - /volume1/docker/seafile/mysql:/var/lib/mysql  # Requested, specifies the path to MySQL data persistent store.
    networks:
      - seafile-net

  memcached:
    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:
      - "8821:80"
#     - "443:443"  # If https is enabled, cancel the comment.
    volumes:
      - /volume1/docker/seafile/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=Etc/UTC  # Optional, default is UTC. Should be uncomment and set to your local time zone.
#      - [email protected] # Specifies Seafile admin user, default is '[email protected]'.
#     - 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:
After starting (via Portainer Stacks), I get 502 Bad Gateway... Following this video...

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

I noticed that the URL for my three containers is 192.168.14.x... compared to the video (and my other containers) which follow a 172.17.0.x IP.

I'm puzzled. This should be dirt simple. Or do any of the docker-compose elements fall outside the Synology "docker-compose" capabilities?

Thanks!

UPDATE 1:
Holy Moley... I just clicked again and it ran? Wow. Maybe I didn't wait long enough.

I till don't understand why the container IP range changed as it did, but all seems fine now. If this works out, I'll pull together a write-up.

FWIW, I began to look for alternatives to NextCloud, because, frankly for my needs, it is a bit bloated. I'd rather use the "best of the best" packages for my day-to-day needs. Hopefully Seafile answers my alternative "Dropbox" objective.
 
After several hours of putzing about with Seafile, I've grown quite content. Lightweight and fast in comparison to Synology Drive server. Supports sync on demand, pinning, multi-user, file encryption, versioning, user/group management... More capabilities here.

Did I mention it's open source?

Cross-platform... All you iOS user waiting for Synology's alpha release, wait no longer.

Shared video links enabled streaming (unlike Synology which forces download).

You can custom tailor the interface, so there is no brand shilling as Synology does with it's shared links.

First impressions are nice. Goodbye, Dropbox, Google Drive, One Drive, Synology Drive...

My only "miss", so far, is search (their paid service includes that). But that's pretty limited in Synology Drive, as I recall.

It does not offer PC backup, like Synology Drive. However, Synology Drive backup is horrid, and much better handled with PC tools such as File History, Macrium Reflect Free, Veeam, and so on.

Spin it up and judge for yourself 😊
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Thanks for your replies, but I found the solution: I had to allow port 8083 in the firewall.
Replies
5
Views
501
Thank you for this - I'll give it a go and see where I get - worst case I learn something as I go!
Replies
6
Views
619
  • Question
Welcome to the forum! To where? What's going on? How are CF records set as well as NPM RP record for that...
Replies
1
Views
595
  • Question
I end up and push a script to free up port 80 and 443 on the NAS. Everything work fine now beside I don't...
Replies
18
Views
3,182
I am struggling with that since I am only a copy & paste hacker. I have installed netdata on my Synology...
Replies
0
Views
1,513
Thanks for sharing @BobW Indeed, both Matrix implementation seem more efficient when it comes to the cpu...
Replies
4
Views
3,454
s4: It seems the INSTANCE_NAME is related to the world you have to create with the tool mentioned in the...
Replies
11
Views
3,427

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top