1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
dockerfiles/nextcloud
2016-11-03 11:07:14 +08:00
..
docker-compose.yml update nextcloud 2016-11-03 10:30:36 +08:00
Dockerfile fix nextcloud 2016-07-24 16:04:56 +08:00
nginx.conf update nextcloud 2016-11-03 10:30:36 +08:00
README.md update nextcloud doc 2016-11-03 11:07:14 +08:00

nextcloud

Nextcloud puts your data at your fingertips, under your control.

docker-compose.yml

nextcloud:
  image: indiehosters/nextcloud
  ports:
    - "127.0.0.1:9000:9000"
  volumes:
    - ./data/apps:/var/www/html/apps
    - ./data/config:/var/www/html/config
    - ./data/data:/var/www/html/data
  restart: always

nginx:
  image: nginx:alpine
  volumes:
    - ./nginx.conf:/etc/nginx/conf.d/default.conf
  volumes_from:
    - nextcloud
  net: host
  restart: always

Server Setup

$ docker-compose up -d
$ docker-compose exec --user www-data nextcloud bash
>>> php occ files:scan --all
Starting scan for user 1 out of 1 (admin)
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 10      | 21    | 00:00:00     |
+---------+-------+--------------+
>>> exit

You can use the occ admin tool.

Client Setup