Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: First time developer setup #15

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@ PROD_URL = "https://api.example.com"
DEV_URL = "https://api.example.com"
APP_URL = "https://app.example.com"
DEV_HOST = 0.0.0.0

# This needs to match APP_PORT in tacticalrmm/.devcontainer/.env
# tacticalrmm/.devcontainer/.env.example uses 443
DEV_PORT = 80

USE_HTTPS = false

# Vue throws a "DOMException: The operation is insecure" error when HTTPS is used on the frontend because it's using
# ws://. Setting DOCKER_BUILD causes Vue to use wss:// which solved the problem.
# An alternative is to set "network.websocket.allowInsecureFromHTTPS = true" in Firefox.
DOCKER_BUILD = true