This repository contains everything needed to deploy the Open Park Project infrastructure.
Copy the .env.example
file to .env
and config your OpenPark instance.
Use the gen_keys.sh
script to generate the RSA keys for the OPP-auth service.
It will automatically generate the keys and add them to the .env
file.
You can then use the docker-compose.yml
file to run the application locally:
docker compose up -d
Lastly, since the application does hostname verification, you need to execute the following command to add the hostname to your /etc/hosts
file:
echo "127.0.0.1 openpark.com" | sudo tee -a /etc/hosts
For the same reasons, if you want to allow external devices to connect to your local Open Park Project instance, you need to add the following line to your NetworkManager's dnsmasq configuration:
echo "address=/openpark.com/10.42.0.1" | sudo tee /etc/NetworkManager/dnsmasq-shared.d/openpark.conf && sudo systemctl restart NetworkManager
You may also need to open ports 80, 443 in your firewall:
sudo firewall-cmd --add-port=80/tcp
sudo firewall-cmd --add-port=443/tcp