Fixing port
This commit is contained in:
parent
54e931ccb4
commit
24a657b617
6 changed files with 12 additions and 10 deletions
|
|
@ -1,3 +1,5 @@
|
|||
RUNSERVER_PORT=8080
|
||||
|
||||
SLACK_CLIENT_OAUTH_ID=
|
||||
SLACK_CLIENT_OAUTH_SECRET=
|
||||
SLACK_API_TOKEN=
|
||||
|
|
@ -19,13 +21,13 @@ SENDGRID_FROM_EMAIL=
|
|||
|
||||
DJANGO_SETTINGS_MODULE=settings.dev
|
||||
SECRET_KEY=jkashdkjashdkjh
|
||||
BASE_URL=http://localhost:8000
|
||||
BASE_URL=http://localhost:8080
|
||||
|
||||
FEATURE_TELEGRAM_INTEGRATION_ENABLED=True
|
||||
FEATURE_SLACK_INTEGRATION_ENABLED=True
|
||||
FEATURE_EXTRA_MESSAGING_BACKENDS_ENABLED=
|
||||
|
||||
SLACK_INSTALL_RETURN_REDIRECT_HOST=http://localhost:8000
|
||||
SLACK_INSTALL_RETURN_REDIRECT_HOST=http://localhost:8080
|
||||
SOCIAL_AUTH_REDIRECT_IS_HTTPS=False
|
||||
|
||||
GRAFANA_INCIDENT_STATIC_API_KEY=
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ python manage.py start_celery
|
|||
celery -A engine beat -l info
|
||||
```
|
||||
|
||||
4. All set! Check out internal API endpoints at http://localhost:8000/.
|
||||
4. All set! Check out internal API endpoints at http://localhost:8080/.
|
||||
|
||||
|
||||
### Frontend setup
|
||||
|
|
@ -102,7 +102,7 @@ python manage.py issue_invite_for_the_frontend --override
|
|||
6. Some configuration fields will appear be available. Fill them out and click Initialize OnCall
|
||||
```
|
||||
OnCall API URL:
|
||||
http://host.docker.internal:8000
|
||||
http://host.docker.internal:8080
|
||||
|
||||
Invitation Token (Single use token to connect Grafana instance):
|
||||
Response from the invite generator command (check above)
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ docker-compose --env-file .env_hobby -f docker-compose.yml run engine python man
|
|||
5. Go to [OnCall Plugin Configuration](http://localhost:3000/plugins/grafana-oncall-app) (or find OnCall plugin in configuration->plugins) and connect OnCall _plugin_ with OnCall _backend_:
|
||||
```
|
||||
Invite token: ^^^ from the previous step.
|
||||
OnCall backend URL: http://engine:8000
|
||||
OnCall backend URL: http://engine:8080
|
||||
Grafana Url: http://grafana:3000
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ services:
|
|||
# image: ...
|
||||
build: engine
|
||||
ports:
|
||||
- 8000:8080
|
||||
- 8080:8080
|
||||
command: >
|
||||
sh -c "uwsgi --ini uwsgi.ini"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ Grafana OnCall Slack integration use a lot of Slack API features:
|
|||
# Choose the unique prefix instead of pretty-turkey-83
|
||||
# Localtunnel will generate an url, e.g. https://pretty-turkey-83.loca.lt
|
||||
# it is referred as <ONCALL_ENGINE_PUBLIC_URL> below
|
||||
lt --port 8000 -s pretty-turkey-83 --print-requests
|
||||
lt --port 8080 -s pretty-turkey-83 --print-requests
|
||||
```
|
||||
|
||||
3. If you use localtunnel, open your external URL and click "Continue" to allow requests to bypass the warning page.
|
||||
|
|
|
|||
|
|
@ -297,10 +297,10 @@ Seek for such a line: “Your invite token: <<LONG TOKEN>> , use it in the Graf
|
|||
label="OnCall backend URL"
|
||||
description={
|
||||
<Text>
|
||||
It should be rechable from Grafana. Possible options: <br />
|
||||
http://host.docker.internal:8000 (if you run backend in the docker locally)
|
||||
It should be reachable from Grafana. Possible options: <br />
|
||||
http://host.docker.internal:8080 (if you run backend in the docker locally)
|
||||
<br />
|
||||
http://localhost:8000 <br />
|
||||
http://localhost:8080 <br />
|
||||
...
|
||||
</Text>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue