Updated install script
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
# docker-compose -f docker-compose-pebble.yaml up
|
||||
# curl --request POST --data '{"ip":"192.168.5.2"}' http://localhost:8055/set-default-ipv4
|
||||
# HTTPS port should be 5001
|
||||
# Directory https://localhost:14000/dir
|
||||
|
||||
version: '3'
|
||||
services:
|
||||
pebble:
|
||||
|
||||
@@ -9,6 +9,7 @@ rm -rf $BASE_DIR
|
||||
# Create admin user
|
||||
cargo run -p mail-server --no-default-features --features "$FEATURES" -- --init=$BASE_DIR
|
||||
|
||||
echo "[server.http]\npermissive-cors = true\n" >> $BASE_DIR/etc/config.toml
|
||||
echo "[tracer.stdout]\ntype = 'stdout'\nlevel = 'info'\nansi = true\nenable = true" >> $BASE_DIR/etc/config.toml
|
||||
printf "[server.http]\npermissive-cors = true\n" >> $BASE_DIR/etc/config.toml
|
||||
printf "[tracer.stdout]\ntype = 'stdout'\nlevel = 'trace'\nansi = true\nenable = true\n" >> $BASE_DIR/etc/config.toml
|
||||
sed -i '' 's/secret =/secret = "secret"\n#secret =/g' $BASE_DIR/etc/config.toml
|
||||
#cargo run -p mail-server --no-default-features --features "$FEATURES" -- --config=$BASE_DIR/etc/config.toml
|
||||
|
||||
Reference in New Issue
Block a user