jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
770 stars 173 forks source link

Seafile in NPM #243

Open PrzemekSkw opened 2 years ago

PrzemekSkw commented 2 years ago

Hello, I try to get Seafile server works on my no-ip domain with NPM. It works perfect with my local address. I have my Nextcloud and Emby installed with Dietpi-software and now I install Seafile server with docker-compose on my dietpiOS (on HP Intel miniPC). My docker-compose looks that:

version: '2.0'
services:
  db:
    image: mariadb
    container_name: seafile-mysql
    restart: unless-stopped
    environment:
      - MYSQL_ROOT_PASSWORD=.......
      - MYSQL_LOG_CONSOLE=true
    volumes:
      - ./data/mariadb:/var/lib/mysql
    networks:
      - seafile-net

  memcached:
    image: memcached
    container_name: seafile-memcached
    restart: unless-stopped
    entrypoint: memcached -m 256
    networks:
      - seafile-net

  seafile:
    image: seafileltd/seafile-mc
    container_name: seafile
    restart: unless-stopped
    ports:
      - "8090:80"
    volumes:
      - ./data/app:/shared
    environment:
      - DB_HOST=db
      - DB_ROOT_PASSWD=.......
      - TIME_ZONE=Etc/UTC
      - SEAFILE_ADMIN_EMAIL=..........@gmail.com
      - SEAFILE_ADMIN_PASSWORD=..........
      - SEAFILE_SERVER_LETSENCRYPT=false
      - SEAFILE_SERVER_HOSTNAME=..........ddns.net/seafile
    depends_on:
      - db
      - memcached
    networks:
      - seafile-net

networks:
  seafile-net:

I have in NPM

Details tab:
Domain: myserver.ddns.net
Schema: https
Host IP:  127.0.0.1
Port: 80

Custom location tab:
/nextcloud 
http
127.0.0.1
80

/emby
http
127.0.0.1
8096

/Seafile
http
127.0.0.1
8090

More details I give on Seafile folder but don't get help yet. https://forum.seafile.com/t/looking-for-help-with-nginx-proxy-manager/16040

Regards.

jlesage commented 2 years ago

It works perfect with my local address.

What do you mean by this exactly ? From the host running the containers, are you able to reach Seafile at http://127.0.0.1:8090 ?

PrzemekSkw commented 2 years ago

It works perfect with my local address.

What do you mean by this exactly ? From the host running the containers, are you able to reach Seafile at http://127.0.0.1:8090 ?

I mean it works with my local address https://192.168.0.19:8090 and on my externel address: https://myserver.ddns.net/seafile it looks that: https://forum-seafile-com-backups.s3.dualstack.us-east-1.amazonaws.com/original/2X/3/3f80de35a8f7f76dcc6ff5b5e1eb4b6e4b599cb7.png Regards.

PrzemekSkw commented 2 years ago

OK, I install it with that tutorial https://itsfoss.com/deploy-seafile-server-docker/ and works fine with NPM but when I access admin settings in web panel my certificate changes as not valid and browser shows notification about danger. If I back to main window it's still wrong. I must open browser again to make Seafile work OK with SSL. :/

Regards.