{"action":"opened","issue":{"url":"https://api.github.com/repos/kvaps/docker-seafile/issues/1","repository_url":"https://api.github.com/repos/kvaps/docker-seafile","labels_url":"https://api.github.com/repos/kvaps/docker-seafile/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kvaps/docker-seafile/issues/1/comments","events_url":"https://api.github.com/repos/kvaps/docker-seafile/issues/1/events","html_url":"https://github.com/kvaps/docker-seafile/issues/1","id":153584144,"number":1,"title":"Seafile restart loop user docker-compose.yml","user":{"login":"bonanza123","id":3331227,"avatar_url":"https://avatars.githubusercontent.com/u/3331227?v=3","gravatar_id":"","url":"https://api.github.com/users/bonanza123","html_url":"https://github.com/bonanza123","followers_url":"https://api.github.com/users/bonanza123/followers","following_url":"https://api.github.com/users/bonanza123/following{/other_user}","gists_url":"https://api.github.com/users/bonanza123/gists{/gist_id}","starred_url":"https://api.github.com/users/bonanza123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonanza123/subscriptions","organizations_url":"https://api.github.com/users/bonanza123/orgs","repos_url":"https://api.github.com/users/bonanza123/repos","events_url":"https://api.github.com/users/bonanza123/events{/privacy}","received_events_url":"https://api.github.com/users/bonanza123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-07T09:09:47Z","updated_at":"2016-05-07T09:09:47Z","closed_at":null,"body":"I tried to set the servers up using your ```docker-compose.yml``` script which looks like this:\r\n\r\n```/opt/seafile-docker/docker-compose.yml```\r\n```\r\nseafile:\r\n  restart: always\r\n  image: kvaps/seafile\r\n  hostname: seafile\r\n  domainname: mydomain.com\r\n  volumes:\r\n    - /etc/localtime:/etc/localtime:ro\r\n    - ./seafile:/data\r\n  links:\r\n    - seafile-db:seafile-db\r\n  ports:\r\n    - 8082:8082\r\n    - 8000:8000\r\n  environment:\r\n    - ADMIN_EMAIL=mymail@mail.com\r\n    - ADMIN_PASSWD=myadminpw\r\n    - MYSQL_ROOT_PASSWD=mysqlpw\r\n\r\nseafile-db:\r\n  restart: always\r\n  image: mysql:5.5\r\n  hostname: mysql\r\n  volumes:\r\n    - /etc/localtime:/etc/localtime:ro\r\n    - ./mysql:/var/lib/mysql\r\n  environment:\r\n    - MYSQL_ROOT_PASSWORD=mysqlpw\r\n```\r\n\r\nI then started the composing with ```docker-compose up``` in the directory which gave me this log:\r\nhttps://gist.github.com/bonanza123/b50c0b63ee6d04ec275eb75b2dd2cd71\r\n\r\nWhen I saw that seafile couln't connect to the DB, I thought that its maybe due to the delayed startup of the mysql container and then I stoped everything using ```docker-compose stop``` and started again with ```docker-compose start && docker-compose logs``` which gave me this log: \r\nhttps://gist.github.com/bonanza123/1f8d6bdf44f53899336f3db3945da734\r\n\r\nI then also pulled only the log from seafile: https://gist.github.com/bonanza123/2da85eade8d9ff0b8940461035aa9739\r\n\r\nWhich in essence shows many loops of the following kind:\r\n\r\n```\r\n2016-05-07 09:00:38,240 INFO spawned: 'seahub' with pid 283\r\n2016-05-07 09:00:39,241 INFO success: seahub entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\n2016-05-07 09:00:39,242 INFO success: seafile entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\n2016-05-07 09:00:40,402 INFO exited: seafile (exit status 0; expected)\r\n2016-05-07 09:00:40,403 INFO received SIGCLD indicating a child quit\r\n2016-05-07 09:00:40,404 INFO spawned: 'seafile' with pid 305\r\n2016-05-07 09:00:41,405 INFO success: seafile entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\n2016-05-07 09:00:43,271 INFO exited: seahub (exit status 0; expected)\r\n2016-05-07 09:00:43,272 INFO received SIGCLD indicating a child quit\r\n````\r\n\r\nIs there anything I'm doing wrong? I also noticed in the logs that the script seems to have some issues with missing brackets []."}}