Comments (2)
I meet the same problem.
from taiga-docker.
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)
- FATAL: database "/taigadocker_taigaback_1/postgres" does not exist HOT 2
- Local configuration is not used because pulling from REPO HOT 1
- restart policy? HOT 3
- Looking for maintainers HOT 4
- ENV vars HOT 4
- open() "/usr/local/taiga/taiga-front-dist/dist/js/conf.json" failed (2: No such file or directory) HOT 2
- tianon/true Exited HOT 1
- Compose Hangs at Circus : Starting the stats streamer HOT 1
- Synology postgres port HOT 1
- Is valid taiga.yml for 3.0.0 taiga upgrade? HOT 15
- Env var POSTGRES_PORT duplicate declaration HOT 1
- docker-compose up failed HOT 3
- 502 Bad Gateway returned when trying to log in as admin
- taiga development mode installation getting error while Populate the database with initial basic data HOT 1
- User avatar is empty HOT 2
- CommandError: No fixture named 'initial_role' found. HOT 2
- Docker images up to date? HOT 1
- Can't choose kanban/scrum when creating new project HOT 2
- UnicodeEncodeError 'ascii' codec can't encode character
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taiga-docker.