Skip to content

ArnoPoitt/seafile-docker

 
 

Repository files navigation

seafile-docker

Seafile docker image for swift setup

Getting started (docker-compose setup)

  • prepare docker-compose.yml (see example below)
  • start the system with docker-compose up -d
  • see docker-compose logs mysql to find out mysql root password (if you did not set it in docker-compose.override.yml)
  • perform initial setup with docker-compose exec seafile setup (this will ask you for mysql root password)

docker-compose.yml example

version: '2'

services:
  seafile:
    image: foxel/seafile:8.0.6
    ports:
      - "9080:80"
    environment:
      SEAFILE_URL: 'http://seafile.example.com'
    links:
      - mysql
    volumes:
      - seafile:/seafile
  mysql:
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: 1
    volumes:
      - mysql:/var/lib/mysql
    image: mysql:5.7

volumes:
  mysql:
    driver: local
  seafile:
    driver: local

UPGRADING

Upgrading is possible in step-by-step manner:

7.1.x => 8.0.x

docker-compose exec seafile /scripts/upgrade.sh 8.0.0

7.0.x => 7.1.x

docker-compose exec seafile /scripts/upgrade.sh 7.1.0

6.3.x => 7.0.x

docker-compose exec seafile /scripts/upgrade.sh 7.0.0

6.2.x => 6.3.x

docker-compose exec seafile /scripts/upgrade.sh 6.3.0

6.1.x => 6.2.x

docker-compose exec seafile /scripts/upgrade.sh 6.2.0

6.0.x => 6.1.x

docker-compose exec seafile /scripts/upgrade.sh 6.1.0

5.1.x => 6.0.x

docker-compose exec seafile /scripts/upgrade.sh 6.0.0

About

Seafile docker image for swift setup

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 77.9%
  • Dockerfile 22.1%