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
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
scripta
eScriptorium
Commits
8e89660f
Commit
8e89660f
authored
4 years ago
by
Robin Tissot
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop'
parents
c82e99b4
11c677e5
No related branches found
No related tags found
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 @
8e89660f
...
@@ -44,11 +44,9 @@ services:
...
@@ -44,11 +44,9 @@ services:
### copy nginx/ssl_certificates.conf_example and edit it
### copy nginx/ssl_certificates.conf_example and edit it
## if need be to correspond to the volume below
## if need be to correspond to the volume below
### and uncomment this block and the port 443
### and uncomment this block and the port 443
# build:
# args:
# - NGINX_CONF=ssl.conf
# volumes:
# volumes:
# - /etc/letsencrypt/live/<mydomain>:/etc/certs
# - ${PWD}/nginx/ssl.conf:/etc/nginx/conf.d/nginx.conf
# - ${PWD}/nginx/certs/:/etc/certs/
flower:
flower:
restart: always
restart: always
...
@@ -86,7 +84,6 @@ services:
...
@@ -86,7 +84,6 @@ services:
# cpus: '6'
# cpus: '6'
# memory: 15g
# memory: 15g
# reservations:
# reservations:
# cpus: '6'
# memory: 4g
# memory: 4g
celery-low-priority:
celery-low-priority:
...
@@ -102,7 +99,6 @@ services:
...
@@ -102,7 +99,6 @@ services:
# cpus: '2'
# cpus: '2'
# memory: 15g
# memory: 15g
# reservations:
# reservations:
# cpus: '2'
# memory: 1g
# memory: 1g
celery-gpu:
celery-gpu:
...
@@ -118,7 +114,6 @@ services:
...
@@ -118,7 +114,6 @@ services:
# cpus: '6'
# cpus: '6'
# memory: 15g
# memory: 15g
# reservations:
# reservations:
# cpus: '2'
# memory: 1g
# memory: 1g
# shm_size: '3gb'
# shm_size: '3gb'
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
1
−
0
View file @
8e89660f
...
@@ -42,6 +42,7 @@ services:
...
@@ -42,6 +42,7 @@ services:
environment
:
environment
:
-
SERVERNAME=${DOMAIN:-localhost}
-
SERVERNAME=${DOMAIN:-localhost}
volumes
:
volumes
:
-
${PWD}/nginx/nginx.conf:/etc/nginx/conf.d/nginx.conf
-
static:/usr/src/app/static
-
static:/usr/src/app/static
-
media:/usr/src/app/media
-
media:/usr/src/app/media
ports
:
ports
:
...
...
This diff is collapsed.
Click to expand it.
nginx/Dockerfile
+
0
−
3
View file @
8e89660f
...
@@ -2,7 +2,4 @@ FROM nginx:1.15.0-alpine
...
@@ -2,7 +2,4 @@ FROM nginx:1.15.0-alpine
RUN
rm
/etc/nginx/conf.d/default.conf
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/
COPY
ssl_certificates.conf* /etc/nginx/conf.d/
This diff is collapsed.
Click to expand it.
variables.env_example
+
8
−
8
View file @
8e89660f
DOMAIN=localhost
DOMAIN=localhost
SECRET_KEY=changeme
SECRET_KEY=changeme
SQL_ENGINE=django.db.backends.postgresql
SQL_HOST=db
# POSTGRES_USER=postgres
SQL_PORT=5432
# POSTGRES_PASSWORD=postgres
POSTGRES_USER=postgres
# POSTGRES_DB=escriptorium
POSTGRES_PASSWORD=postgres
POSTGRES_DB=escriptorium
DATABASE=postgres
DJANGO_SU_NAME=admin
DJANGO_SU_NAME=admin
DJANGO_SU_EMAIL=admin@admin.com
DJANGO_SU_EMAIL=admin@admin.com
DJANGO_SU_PASSWORD=admin
DJANGO_SU_PASSWORD=admin
DJANGO_FROM_EMAIL=noreply@mydomain.com
DJANGO_FROM_EMAIL=noreply@mydomain.com
REDIS_HOST=redis
FLOWER_BASIC_AUTH=flower:changeme
FLOWER_BASIC_AUTH=flower:changeme
# EMAIL_HOST=<hostname>
# set shm_size in yml file!
# set shm_size in yml file!
KRAKEN_TRAINING_LOAD_THREADS=8
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