mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
20 lines
355 B
Bash
20 lines
355 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e -x
|
||
|
|
||
|
pip install docker-squash
|
||
|
|
||
|
(
|
||
|
cd image
|
||
|
make base squash-base server
|
||
|
)
|
||
|
|
||
|
cp samples/server.conf bootstrap/bootstrap.conf
|
||
|
|
||
|
./launcher bootstrap
|
||
|
./launcher start && sleep 10
|
||
|
./launcher stop --skip-prereqs
|
||
|
./launcher start --docker-args "--memory 1g" && sleep 10
|
||
|
./launcher restart
|
||
|
./launcher rebuild --docker-args "--memory 1g"
|