← Back to team overview

graphite-dev team mailing list archive

Re: [Question #688529]: Docker - Webapp Database Setup - MySQL/Postgres

 

Question #688529 on Graphite changed:
https://answers.launchpad.net/graphite/+question/688529

    Status: Open => Answered

Denis Zhdanov proposed the following answer:
Hi Neve,

Unfortuntately, it's quite complex task. Old articles - for example
http://obfuscurity.com/2013/12/Migrating-Graphite-from-SQLite-to-PostgreSQL
and https://gist.github.com/toni-moreno/9779979 are probably still valid,
but maybe Django commands alredy changed, and no need to install any
packages - MySQL and PostgreSQL support already included in docker image.
If you need not migrate but start from scratch using MySQL - it's much
easier. Just create database and include it's config in DATABASES variable
in local_settings.py (as described in links above) and restart container.

ср, 5 февр. 2020 г. в 16:32, Neve Singaravel <
question688529@xxxxxxxxxxxxxxxxxxxxx>:

> New question #688529 on Graphite:
> https://answers.launchpad.net/graphite/+question/688529
>
> I am using the latest docker version of  graphite and I want to migrate
> the 'graphite.db' from SQLite to either PostgreSQL or MySQL. How do I
> update the docker? Please help
>
> --
> You received this question notification because your team graphite-dev
> is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.