Skip to content

nebari-dev/frp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nebari FRP Server for Deployment Previews

Ansible Tasks

This is the infrastructure setup for enabling pull request deployment previews via FRP tunneling. This repository contains the necessary configuration to deploy and manage an FRP server on Hetzner, facilitating pull request preview environments for Nebari.

🔑 Server Access

The FRP server can be accessed via SSH. User access is managed through an Ansible task that runs on pushes to the main branch.

👥 For Nebari Core Team Members

To gain access to the server:

  1. Submit a PR to ansible/vars/users.yaml adding your GitHub username
  2. After the PR is merged, the Ansible playbook will automatically run
  3. Connect to the server using:

Note: Server access is restricted to Nebari core team members only.

FRP Configuration

The FRP server is configured in frp_config/frps.toml. Key settings include:

  • bind_port: Port for FRP client connections (default: 7000)
  • token: Authentication token for clients

Integration with GitHub Repositories

To use this FRP server for preview deployments in your repositories, add the FRP tunnel action to your workflow. See example usage here.

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

FRP server for Nebari's deployment previews.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published