All apps · 0 apps
derbynet_server
Docker app from kiowa2005's Repository
Overview
Readme
View on GitHubPlease visit us at https://derbynet.org.

Developing locally
To quickly get started on local development, the existing Docker image can be used to provide the web server and PHP engine, even if you don't have these installed natively on your machine.
Install Apache Ant.
You can install WSL and run:
sudo apt-get update sudo apt-get install ant
Execute
ant generatedfrom the root of the cloned repository. (This build target includes a step to generate PDF files from their ODF source files. This step will be silently skipped if the LibreOffice/OpenOfficesofficeapplication is not available.)If desired, do one or both of the following. (If you do neither, you won't be able to connect to a hardware timer.)
- Execute
ant timer-in-browserto build the in-browser timer interface. - Execute
ant timer-jarto build the derby-timer.jar timer interface.
- Execute
Instantiate the docker container, but use your local sources rather than those deployed in the container. PATH_TO_YOUR_DATA is a local directory where you'd like databases, photos, and other data files to be stored. PATH_TO_YOUR_REPOSITORY is the path to your local cloned repository.
docker run --detach -p 80:80 -p 443:443 \ --volume [** PATH TO YOUR DATA **]\lib\:/var/lib/derbynet \ --mount type=bind,src=[** PATH TO YOUR REPOSITORY **]\website\,target=/var/www/html,readonly \ jeffpiazza/derbynet_server
Install derbynet_server on Unraid in a few clicks.
Find derbynet_server in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allLinks
Details
mitchellriley/derbynet_serverRuntime arguments
- Web UI
http://[IP]:[PORT:8050]- Network
plexnet- Shell
bash- Privileged
- false
Template configuration
Container Port: 80
- Target
- 80
- Default
- 8050
- Value
- 8050
The docker has a secure webportal but the certificates are self signed.
- Target
- 443
- Default
- 8051
- Value
- 8051
The Timer role is intended for use by the derby-timer.jar program running on the remote timer device connected to the track (raspberrypi). By default, the Timer user has an empty password, so it is not necessary to enter any password in derby-timer.jar. However, this password, like all passwords should be updated to secure the server. Note: The password must match the password set for TIMER_PASSWORD in the timer device (raspberrypi) /etc/derbynet.conf file.
- Target
- TIMER_PASSWORD
- Value
- 555
RaceCrew, password “murphy” (as in Don Murphy, not Murphy’s Law): this role can do things like check racers in, but not erase the database.
- Target
- RACE_CREW_PASSWORD
- Default
- murphy
- Value
- murphy
RaceCoordinator, password default is “doyourbest” This role can do anything at all.
- Target
- RACE_COORD_PASSWORD
- Default
- doyourbest
- Value
- doyourbest
Container Path: /var/lib/derbynet
- Target
- /var/lib/derbynet
- Default
- /mnt/user/appdata/derbynet_server/data/
- Value
- /mnt/cache/appdata/derbynet_server/data
You can upload photos to the web server via HTTP, using the Photo role. The default password for the Photo role is “flashbulb.” For an example of this, see extras/photostand/photostand.sh, a shell script for automated photo capture. (More description at http://www.derbytalk.com/viewtopic.php?f=25&t=8253.)
- Target
- PHOTO_PASSWORD
- Default
- flashbulb
- Value
- flashbulb
Container Variable: PUID
- Default
- 99
- Value
- 99
Container Variable: PGID
- Default
- 100
- Value
- 100