Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
logs-viewer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
logs-viewer
Commits
69530a9b
Commit
69530a9b
authored
Jun 04, 2016
by
Maxime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix access for external hosts
parent
12d97fe8
Pipeline
#105
passed with stage
in 34 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
build_docker_images.bash
+1
-1
logs_viewer/local_settings_example.py
+1
-0
set_env.bash
+1
-0
No files found.
build_docker_images.bash
View file @
69530a9b
...
...
@@ -55,5 +55,5 @@ remove_container "$API_TEST_CONTAINER"
remove_container
"
$API_CONTAINER
"
log_info
"Run image"
docker run
-d
-p
8001:80
-v
$LOGS_DIR
:/tmp/log
--name
$API_CONTAINER
$API_IMAGE
docker run
-d
-p
8001:80
-v
$LOGS_DIR
:/tmp/log
:z
--name
$API_CONTAINER
$API_IMAGE
stop_on_error
$?
"Docker run failed"
logs_viewer/local_settings_example.py
View file @
69530a9b
...
...
@@ -8,6 +8,7 @@ SECRET_KEY = 'some-secret'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
False
ALLOWED_HOSTS
=
[
ALLOWED_HOSTS_LIST
]
# SECURITY WARNING: don't run cors_with origin_allow_all turned on in production!
CORS_ORIGIN_ALLOW_ALL
=
True
...
...
set_env.bash
View file @
69530a9b
#!/bin/bash
sed
"s|some-secret|
$SECRET_KEY
|"
logs_viewer/local_settings_example.py |
\
sed
"s|ALLOWED_HOSTS_LIST|
$ALLOWED_HOSTS_LIST
|"
|
\
sed
"s|DB_ENGINE|
$DB_ENGINE
|"
|
\
sed
"s|DB_NAME|
$DB_NAME
|"
|
\
sed
"s|DB_HOST|
$DB_HOST
|"
|
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment