first commit
This commit is contained in:
commit
5e3286befa
12
.env
Normal file
12
.env
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
volumes/
|
28
compose.yml
Normal file
28
compose.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user