Updated deploy script
This commit is contained in:
@@ -50,3 +50,26 @@ and then
|
||||
# Production
|
||||
$ go run -v .
|
||||
```
|
||||
|
||||
### Production with Docker
|
||||
|
||||
```bash
|
||||
$ mkdir buckets.local/
|
||||
$ cat <<EOF > database.local.json
|
||||
{
|
||||
"prefixSize": 2,
|
||||
"dashboardState": {
|
||||
"widgets": []
|
||||
},
|
||||
"buckets": {},
|
||||
"api-keys": []
|
||||
}
|
||||
EOF
|
||||
$ cat <<EOF > .env
|
||||
MODE="development"
|
||||
HOST=":4000"
|
||||
ADMIN_PASSWORD="secret"
|
||||
MONITOR_SCRIPTS_DIR="./scripts"
|
||||
MONITOR_CACHE_TIMEOUT="5s", time.ParseDuration
|
||||
EOF
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user