Compare commits
14 Commits
72570e25c2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b4e42c119 | ||
|
|
a1cbd66da6 | ||
|
|
4d8a7a68f4 | ||
|
|
acc8375d2b | ||
|
|
dac53d2d06 | ||
|
|
7613f3a547 | ||
|
|
bba8ac4703 | ||
| 28d3d99754 | |||
| 78c2860cca | |||
| 2024466a48 | |||
|
|
54c344d262 | ||
|
|
047dfcb147 | ||
|
|
1e71779c6d | ||
|
|
d01dde658f |
14
.env.default
Normal file
14
.env.default
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
HOSTNAME="fet.at" # Hostname that will be used to filter requests
|
||||||
|
DEBUG="false" # Debug flag ( disables ldap integration )
|
||||||
|
LDAP="True" # Ldap flag ( enables connection with fet ldap )
|
||||||
|
#SECRET_KEY="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" # Secret key for the Website encryption
|
||||||
|
ETHERPAD_GROUP="g.snlbqn7S6ksRbom3" # The Etherpad Group to use
|
||||||
|
|
||||||
|
EMAIL_HOST_USER="verleih@fet.at" # The user to be used for rental Emails
|
||||||
|
#EMAIL_HOST_PASSWORD="password" # The password for the smtp account for the rental Email
|
||||||
|
|
||||||
|
#ETHERPAD_DB_USER="user" # User for the Eterpad MySql Database
|
||||||
|
#ETHERPAD_DB_PASSWORD="password" # Password for the Etherpad MySql Database
|
||||||
|
|
||||||
|
#DJANGO_MYSQL_USER="user" # The MySql User used for Database
|
||||||
|
#DJANGO_MYSQL_PASSWORD"="password" # The Password for the MySql Database
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
.env/*
|
.env*
|
||||||
*.pyc
|
*.pyc
|
||||||
*_design1
|
*_design1
|
||||||
fet2020/.env/*
|
fet2020/.env/*
|
||||||
@@ -19,4 +19,4 @@ flowbite
|
|||||||
gallery/*
|
gallery/*
|
||||||
tailwind
|
tailwind
|
||||||
whoosh_index
|
whoosh_index
|
||||||
databases/django
|
databases
|
||||||
|
|||||||
Binary file not shown.
@@ -9,7 +9,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- django-homepage
|
- django-homepage
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/usr/src/app/files
|
- ./fet2020/files:/usr/src/app/files
|
||||||
- ./gallery:/usr/src/app/files/uploads/gallery
|
- ./gallery:/usr/src/app/files/uploads/gallery
|
||||||
- ./assets:/usr/src/app/assets:ro
|
- ./assets:/usr/src/app/assets:ro
|
||||||
networks:
|
networks:
|
||||||
@@ -18,15 +18,15 @@ services:
|
|||||||
container_name: django-container
|
container_name: django-container
|
||||||
image: django-image:latest
|
image: django-image:latest
|
||||||
environment:
|
environment:
|
||||||
HOST_NAME: "fet.at"
|
HOST_NAME: ${HOSTNAME}
|
||||||
DEBUG: "False"
|
DEBUG: ${DEBUG}
|
||||||
LDAP: "True"
|
LDAP: ${LDAP}
|
||||||
SECRET_KEY: "sae34sADfrFr89E!Gl#f!34hdjGR#!jopi4qFEr#4R56rT56zT2#wE1!feGp"
|
SECRET_KEY: ${SECRET_KEY}
|
||||||
MYSQL_USER: "user"
|
MYSQL_USER: ${DJANGO_MYSQL_USER}
|
||||||
MYSQL_PASSWORD: "hgu"
|
MYSQL_PASSWORD: ${DJANGO_MYSQL_PASSWORD}
|
||||||
ETHERPAD_GROUP: "g.snlbqn7S6ksRbom3"
|
ETHERPAD_GROUP: ${ETHERPAD_GROUP}
|
||||||
EMAIL_HOST_USER: "verleih@fet.at"
|
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
||||||
EMAIL_HOST_PASSWORD: ""
|
EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD}
|
||||||
depends_on:
|
depends_on:
|
||||||
mysql:
|
mysql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -35,7 +35,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./fet2020:/usr/src/app
|
- ./fet2020:/usr/src/app
|
||||||
- ./gallery:/usr/src/app/files/uploads/gallery:shared
|
- ./gallery:/usr/src/app/files/uploads/gallery:shared
|
||||||
- files-volume:/usr/src/app/files
|
- ./fet2020/files:/usr/src/app/files
|
||||||
- ./assets:/usr/src/app/assets:ro
|
- ./assets:/usr/src/app/assets:ro
|
||||||
networks:
|
networks:
|
||||||
- fet-network
|
- fet-network
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
retries: 20
|
retries: 20
|
||||||
etherpad:
|
etherpad:
|
||||||
container_name: etherpad-container
|
container_name: etherpad-container
|
||||||
image: etherpad/etherpad:1.8.17
|
image: etherpad/etherpad:2.5.2
|
||||||
# ports:
|
# ports:
|
||||||
# - 9001:9001
|
# - 9001:9001
|
||||||
environment:
|
environment:
|
||||||
@@ -55,10 +55,11 @@ services:
|
|||||||
DB_HOST: etherpadsql
|
DB_HOST: etherpadsql
|
||||||
DB_PORT: 3306
|
DB_PORT: 3306
|
||||||
DB_NAME: etherpaddb
|
DB_NAME: etherpaddb
|
||||||
DB_USER: user
|
DB_USER: ${ETHERPAD_DB_USER}
|
||||||
DB_PASS: "hgu"
|
DB_PASS: ${ETHERPAD_DB_PASSWORD}
|
||||||
DB_CHARSET: utf8
|
DB_CHARSET: "utf8mb4"
|
||||||
TRUST_PROXY: false
|
TRUST_PROXY: false
|
||||||
|
AUTHENTICATION_METHOD: "apikey"
|
||||||
depends_on:
|
depends_on:
|
||||||
etherpadsql:
|
etherpadsql:
|
||||||
condition: "service_healthy"
|
condition: "service_healthy"
|
||||||
@@ -78,8 +79,8 @@ services:
|
|||||||
image: mariadb:10.7
|
image: mariadb:10.7
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: fet2020db
|
MYSQL_DATABASE: fet2020db
|
||||||
MYSQL_USER: user
|
MYSQL_USER: ${DJANGO_MYSQL_USER}
|
||||||
MYSQL_PASSWORD: hgu
|
MYSQL_PASSWORD: ${DJANGO_MYSQL_PASSWORD}
|
||||||
MYSQL_COLLATION: utf8_general_ci
|
MYSQL_COLLATION: utf8_general_ci
|
||||||
MYSQL_CHARSET: utf8
|
MYSQL_CHARSET: utf8
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||||
@@ -97,8 +98,8 @@ services:
|
|||||||
image: mariadb:10.7
|
image: mariadb:10.7
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: etherpaddb
|
MYSQL_DATABASE: etherpaddb
|
||||||
MYSQL_USER: user
|
MYSQL_USER: ${ETHERPAD_DB_USER}
|
||||||
MYSQL_PASSWORD: "hgu"
|
MYSQL_PASSWORD: ${ETHERPAD_DB_PASSWORD}
|
||||||
MYSQL_COLLATION: utf8_general_ci
|
MYSQL_COLLATION: utf8_general_ci
|
||||||
MYSQL_CHARSET: utf8
|
MYSQL_CHARSET: utf8
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||||
|
|||||||
Binary file not shown.
@@ -77,7 +77,7 @@ class EventForm(PostForm):
|
|||||||
"image": "Verwendbare Formate: Bildformate",
|
"image": "Verwendbare Formate: Bildformate",
|
||||||
"is_pinned": (
|
"is_pinned": (
|
||||||
"Dieses Event soll als erstes auf der Startseite angeheftet werden und sich "
|
"Dieses Event soll als erstes auf der Startseite angeheftet werden und sich "
|
||||||
"automatisch einen Monat nach der Veröffentlichung wieder lösen."
|
"automatisch ein Tag nach dem Eventende wieder lösen."
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user