Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
11
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a865efe2
authored
4 years ago
by
Chif Gergő
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide example configuration file
parent
8498e546
Pipeline
#1157
failed with stage
in 1 minute 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
+57
-0
.env.example
+35
-0
environment.sh.example
+22
-0
No files found.
.env.example
0 → 100644
View file @
a865efe2
# This variables are interpreted automatically by the Docker Engine
# And by the Django runtime
# Django configuration
DJANGO_SECRET=django_secret_value
# settings.local for development and testing
# settings.production for production deployment
DJANGO_SETTINGS_MODULE=myproject.settings.local
# If using other database than sqlite3 (only use sqlite for development!)
# Provide the db credentials here
DATABASE_PASSWORD=database_password
DATABASE_USER=user
DATABASE_NAME=user
DATABASE_HOST=hostname_of_batabase
# For channels communication and periodic tasks we need a redis server
REDIS_HOST=redis_host
# OpenStack credentials
# In development we recommend using a DevStack installation
# These settings displayed in an admin dashboard or
# Can be downloaded from Horizon, as an admin user
OS_AUTH_URL=keysone_auth_url
OS_PROJECT_ID=project_id
OS_PROJECT_NAME=project_name
OS_USER_DOMAIN_NAME=domain_name
OS_USER_DOMAIN_ID=user_domain_id
OS_PROJECT_DOMAIN_ID=project_doamin_id
OS_USERNAME=username
OS_PASSWORD=password
OS_REGION_NAME=region_name
OS_INTERFACE=interface_type
OS_IDENTITY_API_VERSION=identity_api_version
\ No newline at end of file
This diff is collapsed.
Click to expand it.
environment.sh.example
View file @
a865efe2
# This file sets the environment variables in bare metal or
# Virtual machine deployment
# If you prefer deploy with docker, than use the .env file instead this
export DJANGO_SECRET = "very very secret key"
export DJANGO_SECRET = "very very secret key"
# settings.local for development and testing
# settings.production for production deployment
export DJANGO_SETTINGS_MODULE="myproject.settings.local"
# If using other database than sqlite3 (only use sqlite for development!)
# Provide the db credentials here
export DATABASE_PASSWORD="database_password"
export DATABASE_USER="user"
export DATABASE_NAME="user"
export DATABASE_HOST="hostname_of_batabase"
# For channels communication and periodic tasks we need a redis server
export REDIS_HOST="redis_host"
# OpenStack credentials
# In development we recommend using a DevStack installation
# These settings displayed in an admin dashboard or
# Can be downloaded from Horizon, as an admin user
export OS_AUTH_URL=http://example/identity/v3
export OS_AUTH_URL=http://example/identity/v3
export OS_PROJECT_ID=123456789
export OS_PROJECT_ID=123456789
export OS_PROJECT_NAME="example"
export OS_PROJECT_NAME="example"
...
...
This diff is collapsed.
Click to expand it.
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