first commit

This commit is contained in:
julien 2025-01-14 17:59:39 +01:00
commit 5e3286befa
4 changed files with 42 additions and 0 deletions

12
.env Normal file
View File

@ -0,0 +1,12 @@
MYSQL_USER=etherpad
MYSQL_DATABASE=etherpad
#MYSQL_PASSWORD=
#MYSQL_ROOT_PASSWORD=
DB_TYPE=mysql
DB_HOST=padnetignet_mariadb
DB_NAME=etherpad
DB_USER=etherpad
#DB_PASS=
DB_CHARSET=utf8mb4
#ADMIN_PASSWORD=

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
volumes/

1
README.md Normal file
View File

@ -0,0 +1 @@
# pad.netig.net

28
compose.yml Normal file
View File

@ -0,0 +1,28 @@
services:
mariadb:
image: mariadb:latest
container_name: padnetignet_mariadb
env_file:
- .env
- ../passwords/padnetignet.pass
volumes:
- ./volumes/mysql:/var/lib/mysql
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
depends_on:
- mariadb
env_file:
- .env
- ../passwords/padnetignet.pass
ports:
- "127.0.0.1:9005:9001"
restart: unless-stopped