mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Increasing mongo volume size.
This commit is contained in:
parent
10c3ef9ae0
commit
8beea5854e
2 changed files with 5 additions and 2 deletions
|
@ -137,6 +137,9 @@ Provision a new mongo server, replicate the data, take newsblur down for mainten
|
|||
make plan
|
||||
make apply
|
||||
make firewall
|
||||
./utils/ssh.sh db-mongo-primary1
|
||||
docker exec -it mongo mongo
|
||||
mongo> rs.add("db-mongo-primary1.node.nyc1.consul:27017")
|
||||
# Wait for mongo to synbc, takes 4-5 hours
|
||||
make celery_stop
|
||||
make maintenance_on
|
||||
|
|
|
@ -470,7 +470,7 @@ resource "digitalocean_droplet" "db-postgres" {
|
|||
# servers=$(for i in {1..9}; do echo -n "-target=\"digitalocean_droplet.db-mongo-primary[$i]\" " ; done); tf plan -refresh=false `eval echo $servers`
|
||||
#
|
||||
resource "digitalocean_droplet" "db-mongo-primary" {
|
||||
count = 1
|
||||
count = 0
|
||||
backups = true
|
||||
image = var.droplet_os
|
||||
name = "db-mongo-primary${count.index + 1}"
|
||||
|
@ -494,7 +494,7 @@ resource "digitalocean_volume" "mongo_secondary_volume" {
|
|||
count = 3
|
||||
region = "nyc1"
|
||||
name = "mongosecondary${count.index + 1}"
|
||||
size = 400
|
||||
size = 500
|
||||
initial_filesystem_type = "xfs"
|
||||
description = "Storage for NewsBlur MongoDB"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue