From b1f19594b86eec68e76bb94c0ca078f10b4f9693 Mon Sep 17 00:00:00 2001 From: julien Date: Sun, 18 Oct 2026 18:46:40 +0200 Subject: [PATCH] new release ! --- .env | 12 +++++++----- compose.yml | 25 +++++++++++++++++++------ 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/.env b/.env index 7c001b3..66cd118 100644 --- a/.env +++ b/.env @@ -1,12 +1,14 @@ +# MariaDB MYSQL_USER=etherpad MYSQL_DATABASE=etherpad -#MYSQL_PASSWORD= -#MYSQL_ROOT_PASSWORD= + +# Etherpad +NODE_ENV=production +TRUST_PROXY=true DB_TYPE=mysql -DB_HOST=padnetignet_mariadb +DB_HOST=mariadb DB_NAME=etherpad DB_USER=etherpad -#DB_PASS= DB_CHARSET=utf8mb4 -#ADMIN_PASSWORD= + diff --git a/compose.yml b/compose.yml index 84aefa0..d118f8e 100644 --- a/compose.yml +++ b/compose.yml @@ -1,28 +1,41 @@ +name: padnetignet + services: mariadb: image: mariadb:latest - container_name: padnetignet_mariadb + restart: unless-stopped + env_file: - .env - ../passwords/padnetignet.pass + volumes: - ./volumes/mysql:/var/lib/mysql + + command: + - mariadbd + - --character-set-server=utf8mb4 + - --collation-server=utf8mb4_unicode_ci + healthcheck: test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] start_period: 10s interval: 10s timeout: 5s retries: 3 - command: ['mariadbd', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci'] - restart: unless-stopped + etherpad: image: etherpad/etherpad:latest - container_name: padnetignet_etherpad + restart: unless-stopped + depends_on: - - mariadb + mariadb: + condition: service_healthy + env_file: - .env - ../passwords/padnetignet.pass + ports: - "127.0.0.1:9005:9001" - restart: unless-stopped +