- Create databases
- Dump databases
- Add databases to dump schedules
- Load databases from dump files
- Copy and modify .env.example as you want (postgres password inside the file):
cp .env.example .env
- Build the image:
./control.sh build
- Start the container:
./control.sh up
- Stop the container:
./control.sh down
- Clean all the data:
./control.sh clean
- Check control options:
./control.sh help
- With the container running, dump your databases:
./control.sh dumpdb <db_name> <dump_label>
- Stop the containers:
./control.sh down
- Pull master:
git pull origin master
- Build the image:
./control.sh build
- Start the container:
./control.sh up
- Restore your databases from dumps:
./control.sh loaddb <db_name> <dump_label>