Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 2.04 KB

README.md

File metadata and controls

50 lines (35 loc) · 2.04 KB

Docker Perforce Images

A collection of Perforce docker images:

  • Perforce Base, an image containing the official repo and the p4 client
  • Perforce Server
  • Perforce Swarm (not yet tested)

Note: P4Web and Proxy comes with a forked repo, didn't modify or test anything there yet.

Production-ready configuration

  • Updated to Perforce 2022.1
  • Script contains extensive Unreal-specific tymemap, as explained in my community tutorial: Using and setting up Perforce repository
  • Repository set to case insensitive, to avoid rare but cumbersome problems.
  • Applied fix allowing to correctly map shared folder of Synology NAS to the Docker container.

Usage

The perforce server images are contained in their respective directories. Each server comes with an example 'run' target that you can use to get a server up and running quickly.

$ make -C perforce-server run
$ make -C

docker-compose

Using docker-compose it is much simpler to setup a working environment. Modify the docker-compose.yml and the supplied envfile to customize your site. Once done, run:

$ make
$ docker volume create --name=perforce
$ docker-compose up -d perforce    # for p4d server

If you want to use a directory on your host to mount into your perforce container, you'll need to modify the docker-compose.yml file accordingly:

services:
  perforce:
    volumes:
      /path/on/host:/data

Credits