changement d'emplacement des fichiers config spécifiques à l'environnement
Some checks failed
Build and Push Docker Image / build (push) Failing after 17s
Some checks failed
Build and Push Docker Image / build (push) Failing after 17s
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -368,7 +368,7 @@ venv
|
||||
*migrations/
|
||||
|
||||
|
||||
Reskreen/server_config.py
|
||||
server_config.py
|
||||
./db.sqlite3
|
||||
db.sqlite3
|
||||
media/
|
||||
|
@@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/4.0/ref/settings/
|
||||
|
||||
from pathlib import Path
|
||||
import os
|
||||
from Reskreen.server_config import *
|
||||
from config.server_config import *
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
@@ -11,13 +11,18 @@ services:
|
||||
ports:
|
||||
- "8081:8080"
|
||||
volumes:
|
||||
- reskreen-data:/app
|
||||
- reskreen-data:/app/config
|
||||
|
||||
backend-cron:
|
||||
image: registry.prod.resk-u.ch/reskreen:latest
|
||||
command: crond -f
|
||||
volumes:
|
||||
- reskreen-data:/app
|
||||
- reskreen-data:/app/config
|
||||
|
||||
volumes:
|
||||
reskreen-data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
device: /home/prod/Reskreen
|
||||
o: bind
|
||||
|
Reference in New Issue
Block a user