Get a p4d server up and running in no time!
- Dockerfile 100%
| .gitignore | ||
| compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| p4d.env.template | ||
| p4dctl.conf | ||
| README.md | ||
🐳 Containerised p4d
Get a p4d server up and running in no time!
Caution
Default configuration is insecure, it is up to you to configure appropriately via your
p4client or the P4Admin GUI.There is no automated backup system included.
Notes
- Case insensitive mode is enabled
- Database upgrades are run at every startup, this is not a replacement for reading the change-notes
- SSL is enabled
- Unicode mode is enabled
Setup
- Make a copy of
p4d.env.templatecalledp4d.env, and modify SERVER_NAME to taste - Start the container with
docker compose up --buildorpodman compose up --build - Create a user with your
p4client or via P4V, usingP4PORT=ssl:<hostname>:1666 - Upload a typemap
Maintenance
Re-generating the SSL certificate
- Stop the container
- Delete the
./db/sslfolder (or move it elsewhere if you'd like to keep the old cert) - Start the container again
Other
If you need to poke around inside the container such for as backups and upgrades, you'll need to use this command:
<docker/podman> compose run --rm --build --entrypoint /bin/bash p4d
License notes
The LICENSE in this repo only applies to the files within it, (obviously) NOT to P4 Server or any other software that is property of Perforce Software, Inc.