diff --git a/site/docs/FAQs/preevy.md b/site/docs/FAQs/preevy.md index d40d4704..5a689f3c 100644 --- a/site/docs/FAQs/preevy.md +++ b/site/docs/FAQs/preevy.md @@ -4,7 +4,7 @@ sidebar_label: Preevy CLI sidebar_position: 15 --- -## Common questions about using the Preevy CLI +## General questions about using the Preevy CLI
Is the Preevy CLI free to use? @@ -43,3 +43,23 @@ sidebar_position: 15 Join the Livecycle Community on Slack to get support for Preevy CLI.
+ +## Technical questions + +
+ Can I expose only specific ports for a service? + + By default, Preevy exposes all the public TCP ports of a service defined in the Compose file. + + You can explicitly specify the ports to be exposed by defining a `preevy.expose` label on the service with the comma-separated list of port numbers to be exposed. + + Labels can defined in the Compose file (`compose.yaml` or `docker-compose.yaml`) as follows: + ```yaml +services: + my-service: + build: ... + labels: + preevy.expose: 8000,8001 + ``` +
+ diff --git a/site/docs/intro/getting-started.mdx b/site/docs/intro/getting-started.mdx index 21b22ed2..02e99e14 100644 --- a/site/docs/intro/getting-started.mdx +++ b/site/docs/intro/getting-started.mdx @@ -10,43 +10,7 @@ title: Getting started ## FAQ -
- Is the Preevy CLI free to use? - - Yes, the Preevy CLI is free to use. -
- -
- Is the Preevy CLI open source? - - Yes, the Preevy CLI is open source. You can find the source code on [Github](https://github.com/livecycle-io/preevy). -
- -
- Which frameworks and languages does the Preevy CLI support? - - The Preevy CLI is language and framework agnostic. It works with anything that runs in a Docker container. -
- -
- What security features does the Preevy CLI offer? - - The Preevy CLI uses a secure [SSH tunnel](https://livecycle.io/blogs/preevy-proxy-service-2/) to expose your local development environment using Livecycle's tunnel server, which is only accessible using HTTPS. - - You can enable private URLs to restrict access to your environment. -
- -
- Where do I report bugs? - - You can report bugs on [Github](https://github.com/livecycle-io/preevy/issues). Or you can join the [Livecycle Community](https://community.livecycle.io/) on Slack and report bugs there. -
- -
- How do I get support for Preevy CLI? - - Join the Livecycle Community on Slack to get support for Preevy CLI. -
+See the [CLI FAQ section](/FAQs/preevy). ## What's next?