Git Product home page Git Product logo

Comments (2)

JadianZheng avatar JadianZheng commented on June 27, 2024

I meet the same problem.

from taiga-docker.

yungang avatar yungang commented on June 27, 2024

there are two methods, one, do a new install & migrate, or 2, commit container, save image, then load image on new hosts.
method 1, new install and migrate(i think this is the simplest way):
1,export db 'taiga' from postgresql, user is taiga and password is password just as in taiga.yml
#pg_dumpall -Utaiga > taiga.sql
2, backup directores media and static on taiga-back container
3, reinstall taiga dockers
4, restore media and static directories and import taiga.sql
done

method 2, save images and re-load images:
1, docker commit and save docket taiga-front and taiga-back
2, docker save docker-front and docker-back
3, move images to new hosts
4, docker load images and create containers

docker run -it --name postgres postgres /bin/bash

docker run --name taiga-back  --expose 8000 --link postgres:postgres taigadocker_taigaback:backup /usr/local/taiga/start

docker run -p 80:80 --expose 80 --expose 554  --name taiga-front --link taiga-back:taigaback --volumes-from taiga-back taigadocker_taigafront:backup /usr/local/taiga/start

-- by the way ,now taiga 3.0 has been released, so, i think you need upgrade, see Dockerfile of taiga-back and taiga-front, you will see how to do
BUT, do remember run
manage.py loaddata initial_project_templates --traceback
on taiga-back container after you upgrade, otherwise you will failed when you create new projects.

from taiga-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.