remove nextcloud and prepare for prod
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m48s

This commit is contained in:
2026-01-14 12:51:49 +01:00
parent a8e2103eed
commit 92ce9f948a
3 changed files with 3 additions and 7 deletions

View File

@@ -19,6 +19,6 @@ RUN python -m venv venv \
EXPOSE 8080
#CMD ["python", "manage.py", "runserver", "0.0.0.0:8080"]
CMD ["sh", "-c", "source venv/bin/activate && python manage.py runserver 0.0.0.0:8080"]
CMD ["sh", "-c", "source venv/bin/activate && python manage.py collectstatic && python manage.py runserver 0.0.0.0:8080"]
#CMD ["./startup.sh"]

View File

@@ -89,8 +89,6 @@ REST_FRAMEWORK = {
LANGUAGE_CODE = 'fr-CH'
if not cfg_dev_mode:
INSTALLED_APPS.append('nextcloud.apps.NextcloudConfig')
MEDIA_URL = '/media/'

View File

@@ -1,11 +1,9 @@
from pathlib import Path
import os
BASE_DIR = Path(__file__).resolve().parent.parent
cfg_dev_mode = True
cfg_dev_mode = False
# SECURITY WARNING: keep the secret key used in production secret!
# SECURITY WARNING: keep the secret key used in production secret!
#SECRET_KEY = 'django-prod-j4jd&+4j^t_=@zr(#q@n!8e*58vkql6&_6w-t14ju8pw%ei%^s'
SECRET_KEY = 'django-insecure-j4jd&+4j^t_=@zr(#q@n!8e*58vkql6&_6w-t14ju8pw%ei%^s'