fixes for deployment
This commit is contained in:
11
deployment/mysql.cnf
Normal file
11
deployment/mysql.cnf
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[client]
|
||||||
|
default-character-set=utf8mb4
|
||||||
|
|
||||||
|
[mysql]
|
||||||
|
default-character-set=utf8mb4
|
||||||
|
|
||||||
|
|
||||||
|
[mysqld]
|
||||||
|
collation-server = utf8mb4_unicode_ci
|
||||||
|
init-connect='SET NAMES utf8'
|
||||||
|
character-set-server = utf8mb4
|
||||||
@@ -9,25 +9,25 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /mnt/fotos/www:/app/data
|
- /mnt/fotos/www:/app/data
|
||||||
mysql:
|
mysql:
|
||||||
image: jbergstroem/mariadb-alpine
|
image: mariadb
|
||||||
environment:
|
environment:
|
||||||
SKIP_INNODB: "yes"
|
|
||||||
MYSQL_DATABASE: fet2020db
|
MYSQL_DATABASE: fet2020db
|
||||||
MYSQL_USER: user
|
MYSQL_USER: user
|
||||||
MYSQL_PASSWORD: hgu
|
MYSQL_PASSWORD: hgu
|
||||||
MYSQL_COLLATION: utf8_general_ci
|
MYSQL_COLLATION: utf8_general_ci
|
||||||
MYSQL_CHARSET: utf8
|
MYSQL_CHARSET: utf8
|
||||||
|
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||||
volumes:
|
volumes:
|
||||||
- ../mysql_django:/var/lib/mysql
|
- ../mysql_django:/var/lib/mysql
|
||||||
etherpadsql:
|
etherpadsql:
|
||||||
image: jbergstroem/mariadb-alpine
|
image: mariadb
|
||||||
environment:
|
environment:
|
||||||
SKIP_INNODB: "no"
|
|
||||||
MYSQL_DATABASE: etherpaddb
|
MYSQL_DATABASE: etherpaddb
|
||||||
MYSQL_USER: user
|
MYSQL_USER: user
|
||||||
MYSQL_PASSWORD: hgu
|
MYSQL_PASSWORD: hgu
|
||||||
MYSQL_COLLATION: utf8_general_ci
|
MYSQL_COLLATION: utf8_general_ci
|
||||||
MYSQL_CHARSET: utf8
|
MYSQL_CHARSET: utf8
|
||||||
|
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||||
volumes:
|
volumes:
|
||||||
- ../mysql_etherpad:/var/lib/mysql
|
- ../mysql_etherpad:/var/lib/mysql
|
||||||
etherpad:
|
etherpad:
|
||||||
@@ -37,8 +37,8 @@ services:
|
|||||||
DB_HOST: etherpadsql
|
DB_HOST: etherpadsql
|
||||||
DB_PORT: 3306
|
DB_PORT: 3306
|
||||||
DB_NAME: etherpaddb
|
DB_NAME: etherpaddb
|
||||||
DB_USER: user
|
DB_USER: root
|
||||||
DB_PASS: hgu
|
DB_PASS: ""
|
||||||
DB_CHARSET: utf8
|
DB_CHARSET: utf8
|
||||||
#ADMIN_PASSWORD: "AndiS"
|
#ADMIN_PASSWORD: "AndiS"
|
||||||
#REQUIRE_AUTHENTICATION: "false"
|
#REQUIRE_AUTHENTICATION: "false"
|
||||||
@@ -51,6 +51,7 @@ services:
|
|||||||
- "9001:9001"
|
- "9001:9001"
|
||||||
volumes:
|
volumes:
|
||||||
- ./etherpad/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
|
- ./etherpad/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
|
||||||
|
- ./deployment/mysql.cnf:/etc/mysql/conf.d
|
||||||
fet2020:
|
fet2020:
|
||||||
image: fet2020django
|
image: fet2020django
|
||||||
build: .
|
build: .
|
||||||
|
|||||||
Reference in New Issue
Block a user