GithubHelp home page GithubHelp logo

randomexplosion / helix-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from p4paul/helix-docker

0.0 0.0 0.0 45 KB

Sample Docker containers for Helix products

License: BSD 3-Clause "New" or "Revised" License

Shell 15.64% Perl 62.39% PHP 0.71% Dockerfile 21.26%

helix-docker's Introduction

Helix Docker demos

Demo the Perforce Server, replicas with Swarm.

Build and Run

docker-compose build
docker-compose up

Swarm server runs on port 5080.

Perforce server is on port 4000 and replica on port 4001.

Perforce super user is super and password Passw0rd.

Backup

Take a checkpoint (created in volumes/p4-home/checkpoints/)

p4 -C utf8  -p 4000 -u super admin checkpoint -Z

and then zip up the depots directory e.g.

cd volumes/p4-home/depots/
tar cvfz depots.tar.gz *

Copy both the volumes/p4-home/depots/depots.tar.gz and volumes/p4-home/checkpoints/master.ckp.*.gz to a safe location

Restore

  1. Create a symlink in the volumes/checkpoints/ directory called latest to the 'zipped' checkpoint you wish to restore.
  2. Unzip the depots.tar.gz into the volumes/p4-home/depots/ directory
  3. Restart docker compose.

Docker will look for a symlink called latest on startup and do the rest for you.

Cleanup

If things stop working try the following:

Simple cleanup script (intended for OS X) to remove unused docker images and volumes:

docker-compose kill
./clean.sh

Remove all image caches and start from fresh:

docker-compose build --no-cache

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.