Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-qtl-db
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cc-qtl
cc-qtl-db
Commits
eaa870fb
Commit
eaa870fb
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
define default admin user
parent
3068eae7
No related branches found
No related tags found
No related merge requests found
Pipeline
#107525
passed
1 year ago
Stage: test
Stage: docker-build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+6
-0
6 additions, 0 deletions
docker-compose.yml
server/server/settings.py
+4
-0
4 additions, 0 deletions
server/server/settings.py
with
10 additions
and
0 deletions
docker-compose.yml
+
6
−
0
View file @
eaa870fb
...
@@ -15,6 +15,8 @@ services:
...
@@ -15,6 +15,8 @@ services:
python manage.py makemigrations
python manage.py makemigrations
python manage.py migrate --no-input
python manage.py migrate --no-input
python manage.py initdb
python manage.py initdb
python manage.py createsuperuser --noinput --settings server.settings
python manage.py import-galaxy-workflow
python manage.py runserver 0.0.0.0:8000
python manage.py runserver 0.0.0.0:8000
volumes
:
volumes
:
-
./server:/app
-
./server:/app
...
@@ -24,6 +26,9 @@ services:
...
@@ -24,6 +26,9 @@ services:
-
"
8888:8000"
-
"
8888:8000"
environment
:
environment
:
DEBUG
:
"
true"
DEBUG
:
"
true"
DJANGO_SUPERUSER_USERNAME
:
admin
DJANGO_SUPERUSER_PASSWORD
:
password
DJANGO_SUPERUSER_EMAIL
:
admin@example.com
depends_on
:
depends_on
:
-
postgresql
-
postgresql
# - galaxy
# - galaxy
...
@@ -80,6 +85,7 @@ services:
...
@@ -80,6 +85,7 @@ services:
depends_on
:
depends_on
:
-
server
-
server
-
client
-
client
-
postgresql
volumes
:
volumes
:
-
./nginx/dev/nginx.conf:/etc/nginx/nginx.conf:ro
-
./nginx/dev/nginx.conf:/etc/nginx/nginx.conf:ro
-
cc-qtl-django-static:/usr/src/app/static
-
cc-qtl-django-static:/usr/src/app/static
...
...
This diff is collapsed.
Click to expand it.
server/server/settings.py
+
4
−
0
View file @
eaa870fb
...
@@ -32,6 +32,10 @@ SECRET_KEY = config(
...
@@ -32,6 +32,10 @@ SECRET_KEY = config(
)
)
HOSTLABEL
=
config
(
"
HOSTLABEL
"
,
default
=
"
local
"
)
HOSTLABEL
=
config
(
"
HOSTLABEL
"
,
default
=
"
local
"
)
# django superuser conf
DJANGO_SUPERUSER_USERNAME
=
config
(
"
DJANGO_SUPERUSER_USERNAME
"
,
default
=
"
admin
"
)
DJANGO_SUPERUSER_PASSWORD
=
config
(
"
DJANGO_SUPERUSER_PASSWORD
"
,
default
=
"
password
"
)
DJANGO_SUPERUSER_EMAIL
=
config
(
"
DJANGO_SUPERUSER_EMAIL
"
,
default
=
"
admin@example.com
"
)
# GALAXY CONF
# GALAXY CONF
GALAXY_API_KEY
=
config
(
"
GALAXY_API_KEY
"
,
default
=
""
)
GALAXY_API_KEY
=
config
(
"
GALAXY_API_KEY
"
,
default
=
""
)
GALAXY_BASE_URL
=
config
(
"
GALAXY_BASE_URL
"
,
default
=
"
http://0.0.0.0:9090/
"
)
GALAXY_BASE_URL
=
config
(
"
GALAXY_BASE_URL
"
,
default
=
"
http://0.0.0.0:9090/
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment