init
This commit is contained in:
parent
e3c4f9abe5
commit
a36d145c11
@ -3,12 +3,33 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
etherpad:
|
etherpad:
|
||||||
build: ${REPO_URL}
|
build: ${REPO_URL}
|
||||||
|
depends_on:
|
||||||
|
- postgresql
|
||||||
|
environment:
|
||||||
|
TITLE: etherpad@f1x.online
|
||||||
|
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
||||||
|
USER_PASSWORD: ${USER_PASSWORD}
|
||||||
|
DB_TYPE: postgres
|
||||||
|
DB_HOST: postgresql
|
||||||
|
DB_POST: 5432
|
||||||
|
DB_USER: postgres
|
||||||
|
DB_PASS: ${POSTGRES_PASSWORD}
|
||||||
|
image: etherpad:local
|
||||||
|
links:
|
||||||
|
- postgresql
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
options:
|
options:
|
||||||
tag: etherpad
|
tag: etherpad
|
||||||
image: etherpad:local
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- ${EXTERNAL_IP}:${EXTERNAL_PORT}:9001
|
- ${EXTERNAL_IP}:${EXTERNAL_PORT}:9001
|
||||||
|
|
||||||
|
postgresql:
|
||||||
|
image: postgres:13
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
POSTGRES_DB: etherpad
|
||||||
|
volumes:
|
||||||
|
- ${POSTGRES_DATA_PATH}:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
4
env.dist
4
env.dist
@ -1,3 +1,7 @@
|
|||||||
|
ADMIN_PASSWORD='changeme'
|
||||||
|
USER_PASSWORD='changeme'
|
||||||
EXTERNAL_IP=127.0.0.1
|
EXTERNAL_IP=127.0.0.1
|
||||||
EXTERNAL_PORT=9001
|
EXTERNAL_PORT=9001
|
||||||
|
POSTGRES_PASSWORD='postgresql123'
|
||||||
|
POSTGRES_DATA_PATH=/changeme
|
||||||
REPO_URL=https://github.com/ether/etherpad-lite.git
|
REPO_URL=https://github.com/ether/etherpad-lite.git
|
||||||
|
Loading…
Reference in New Issue
Block a user