Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eScriptorium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
scripta
eScriptorium
Commits
11c677e5
Commit
11c677e5
authored
4 years ago
by
Robin Tissot
Browse files
Options
Downloads
Patches
Plain Diff
ssl conf usage cleanup.
parent
0882f0ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docker-compose.override.yml_example
+2
-7
2 additions, 7 deletions
docker-compose.override.yml_example
docker-compose.yml
+1
-0
1 addition, 0 deletions
docker-compose.yml
nginx/Dockerfile
+0
-3
0 additions, 3 deletions
nginx/Dockerfile
variables.env_example
+8
-8
8 additions, 8 deletions
variables.env_example
with
11 additions
and
18 deletions
production
.yml_example
→
docker-compose.override
.yml_example
+
2
−
7
View file @
11c677e5
...
...
@@ -44,11 +44,9 @@ services:
### copy nginx/ssl_certificates.conf_example and edit it
## if need be to correspond to the volume below
### and uncomment this block and the port 443
# build:
# args:
# - NGINX_CONF=ssl.conf
# volumes:
# - /etc/letsencrypt/live/<mydomain>:/etc/certs
# - ${PWD}/nginx/ssl.conf:/etc/nginx/conf.d/nginx.conf
# - ${PWD}/nginx/certs/:/etc/certs/
flower:
restart: always
...
...
@@ -86,7 +84,6 @@ services:
# cpus: '6'
# memory: 15g
# reservations:
# cpus: '6'
# memory: 4g
celery-low-priority:
...
...
@@ -102,7 +99,6 @@ services:
# cpus: '2'
# memory: 15g
# reservations:
# cpus: '2'
# memory: 1g
celery-gpu:
...
...
@@ -118,7 +114,6 @@ services:
# cpus: '6'
# memory: 15g
# reservations:
# cpus: '2'
# memory: 1g
# shm_size: '3gb'
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
1
−
0
View file @
11c677e5
...
...
@@ -42,6 +42,7 @@ services:
environment
:
-
SERVERNAME=${DOMAIN:-localhost}
volumes
:
-
${PWD}/nginx/nginx.conf:/etc/nginx/conf.d/nginx.conf
-
static:/usr/src/app/static
-
media:/usr/src/app/media
ports
:
...
...
This diff is collapsed.
Click to expand it.
nginx/Dockerfile
+
0
−
3
View file @
11c677e5
...
...
@@ -2,7 +2,4 @@ FROM nginx:1.15.0-alpine
RUN
rm
/etc/nginx/conf.d/default.conf
ARG
NGINX_CONF=nginx.conf
COPY
${NGINX_CONF} /etc/nginx/conf.d/nginx.conf
COPY
ssl_certificates.conf* /etc/nginx/conf.d/
This diff is collapsed.
Click to expand it.
variables.env_example
+
8
−
8
View file @
11c677e5
DOMAIN=localhost
SECRET_KEY=changeme
SQL_ENGINE=django.db.backends.postgresql
SQL_HOST=db
SQL_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=escriptorium
DATABASE=postgres
# POSTGRES_USER=postgres
# POSTGRES_PASSWORD=postgres
# POSTGRES_DB=escriptorium
DJANGO_SU_NAME=admin
DJANGO_SU_EMAIL=admin@admin.com
DJANGO_SU_PASSWORD=admin
DJANGO_FROM_EMAIL=noreply@mydomain.com
REDIS_HOST=redis
FLOWER_BASIC_AUTH=flower:changeme
# EMAIL_HOST=<hostname>
# set shm_size in yml file!
KRAKEN_TRAINING_LOAD_THREADS=8
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