Skip to content
Snippets Groups Projects
Verified Commit 41d6d229 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Etherpad] Oops, forgot that week instances uses PGSQL

parent 15791596
No related branches found
No related tags found
No related merge requests found
Pipeline #61736 waiting for manual action
......@@ -92,7 +92,7 @@ services:
- week
etherpad-week-db:
image: registry.picasoft.net/pica-etherpad-db:mysql8.picapatch2
image: postgres:12
container_name: etherpad-week-db
security_opt:
- no-new-privileges
......@@ -100,10 +100,8 @@ services:
cpus: "0.40"
pids_limit: 1024
volumes:
- weekpad-db:/var/lib/mysql
- weekpad-db:/var/lib/postgresql/data
env_file: ./secrets/etherpad-week-db.secrets
restart: unless-stopped
# See https://stackoverflow.com/questions/41134785/how-to-solve-mysql-warning-innodb-page-cleaner-1000ms-intended-loop-took-xxx
command: --innodb_lru_scan_depth=128 --default-authentication-plugin=mysql_native_password
networks:
- week
......@@ -6,10 +6,10 @@
"ip": "${IP:0.0.0.0}",
"port": "${PORT:8080}",
"showSettingsInAdminPage": "${SHOW_SETTINGS_IN_ADMIN_PAGE:true}",
"dbType": "${DB_TYPE:mysql}",
"dbType": "${DB_TYPE:postgres}",
"dbSettings": {
"host": "${DB_HOST}",
"port": "${DB_PORT:3306}",
"port": "${DB_PORT:5432}",
"database": "${DB_NAME}",
"user": "${DB_USER}",
"password": "${DB_PASSWORD}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment