Page MenuHomePhabricator

Update ENV variables to match expected production variables
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/929711

MYSQL_HOST: nohost # change to m5-master.eqiad.wmnet when ready for prod
MYSQL_PORT: 3306
MYSQL_DATABASE: ipoid
MYSQL_RW_USER: ipoid_rw
MYSQL_RO_USER: ipoid_ro

docker-compose.yml and the app itself should use these variables now that they're confirmed for prod.

Details

TitleReferenceAuthorSource BranchDest Branch
Update environment variablesrepos/mediawiki/services/ipoid!28stranupdate-env-variablesmain
Customize query in GitLab

Event Timeline

dom_walden subscribed.

I ran:

docker-compose up -d --build
docker-compose exec web node create-users.js
docker-compose exec web node init-db.js
docker-compose exec web node import-data.js ./tmp/data.json.gz

I checked that it imported data into the actor_data table.