Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8e89660f authored by Robin Tissot's avatar Robin Tissot
Browse files

Merge branch 'develop'

parents c82e99b4 11c677e5
No related branches found
No related tags found
No related merge requests found
...@@ -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'
......
...@@ -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:
......
...@@ -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/
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment