Here is how we use you container, that could be automated.
Create a new container
On the host machine run:
docker run -t -i -v /opt/seafile/<CLIENT>:/opt/seafile jenserat/seafile -- /bin/bash
Install seafile
Enter the container to install seafile
download-seafile
/opt/seafile/seafile-server-6.*/setup-seafile.sh
Answer the questions:
[server name]: <CLIENT>
[This server's ip or domain]: cloud.<CLIENT>.org
[default: /opt/seafile/seafile-data ]
[default: 8082 ]
Start the service
Start seafile et seahub
/opt/seafile/seafile-server-latest/seafile.sh start
/opt/seafile/seafile-server-latest/seahub.sh start
Finish
Exit and restart the container.
Here is how we use you container, that could be automated.
Create a new container
On the host machine run:
Install seafile
Enter the container to install seafile
Answer the questions:
Start the service
Start
seafileetseahubFinish
Exit and restart the container.