# seafile





| Création    | dockge                                                       |
| ----------- | ------------------------------------------------------------ |
| Mise-à-jour | Watchtower                                                   |
| Port        | 8611                                                         |
| Liens       | [Manuel](https://manual.seafile.com/)<br />[Seafile](https://www.seafile.com/en/home/)<br />https://mariushosting.com/how-to-install-seafile-on-your-synology-nas/ |



```yaml
version: "3.9"
services:
  db:
    image: mariadb:11.3-jammy
    container_name: Seafile-DB
    hostname: seafile-db
    mem_limit: 1g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    user: 1026:100
    volumes:
      - /volume1/docker/dockge/stacks/seafile/db:/var/lib/mysql:rw
    environment:
      MYSQL_ROOT_PASSWORD: rootpass
      TZ: Europe/Paris
    restart: on-failure:5
  cache:
    image: memcached:1.6.22
    entrypoint: memcached -m 256
    container_name: Seafile-CACHE
    hostname: memcached
    mem_limit: 512m
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    read_only: true
    user: 1026:100
    restart: on-failure:5
  seafile:
    image: seafileltd/seafile-mc:latest
    container_name: Seafile
    hostname: seafile
    mem_limit: 2g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://localhost
    volumes:
      - /volume1/docker/dockge/stacks/seafile/data:/shared:rw
    ports:
      - 8611:80
    environment:
      DB_HOST: seafile-db
      DB_ROOT_PASSWD: rootpass
      TIME_ZONE: Europe/Paris
      SEAFILE_ADMIN_EMAIL: liste@clicclac.info
      SEAFILE_ADMIN_PASSWORD: mariushosting
      SEAFILE_SERVER_LETSENCRYPT: false
      SEAFILE_SERVER_HOSTNAME: seafile.photos-nas.ovh
      FORCE_HTTPS_IN_CONF: true
    restart: on-failure:5
    depends_on:
      db:
        condition: service_started
      cache:
        condition: service_started
networks:
  default:
    driver: bridge
    ipam:
      config:
        - subnet: 172.16.69.0/24

```

