38 lines
829 B
YAML
38 lines
829 B
YAML
version: '3'
|
|
|
|
services:
|
|
etherpad:
|
|
build: ${REPO_URL}
|
|
depends_on:
|
|
- postgresql
|
|
environment:
|
|
TITLE: etherpad@f1x.online
|
|
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
|
USER_PASSWORD: ${USER_PASSWORD}
|
|
REQUIRE_AUTHENTICATION: 'true'
|
|
DB_TYPE: postgres
|
|
DB_HOST: postgresql
|
|
DB_POST: 5432
|
|
DB_USER: postgres
|
|
DB_PASS: ${POSTGRES_PASSWORD}
|
|
image: etherpad:local
|
|
links:
|
|
- postgresql
|
|
logging:
|
|
driver: journald
|
|
options:
|
|
tag: etherpad
|
|
restart: unless-stopped
|
|
ports:
|
|
- ${EXTERNAL_IP}:${EXTERNAL_PORT}:9001
|
|
|
|
postgresql:
|
|
image: postgres:13
|
|
environment:
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: etherpad
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${POSTGRES_DATA_PATH}:/var/lib/postgresql/data
|
|
|