blob: 831723dd1925eb12b10e2e70869316c2a61877a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
volumes:
postgres:
plugins:
data:
networks:
proxy:
external: true
default:
services:
etherpad:
user: "0:0"
image: etherpad/etherpad:latest
container_name: etherpad
tty: true
stdin_open: true
volumes:
- plugins:/opt/etherpad-lite/src/plugin_packages
- data:/opt/etherpad-lite/var
depends_on:
- postgres
labels:
traefik.enable: true
traefik.port: 9001
traefik.http.routers.etherpad.rule: Host(`etherpad.4d6178.work`)
traefik.http.routers.etherpad.entrypoints: websecure
traefik.http.routers.etherpad.tls: true
traefik.http.routers.etherpad.tls.certresolver: le
environment:
NODE_ENV: production
ADMIN_PASSWORD:
DB_CHARSET: utf8mb4
DB_HOST: postgres
DB_NAME: etherpad
DB_PASS: admin
DB_PORT: 5432
DB_TYPE: "postgres"
DB_USER: admin
DEFAULT_PAD_TEXT: Hello, World!
DISABLE_IP_LOGGING: true
SOFFICE: null
TRUST_PROXY: null
restart: unless-stopped
networks:
- proxy
- default
postgres:
image: postgres:15-alpine
container_name: etherpad-postgres
environment:
POSTGRES_DB: etherpad
POSTGRES_PASSWORD: admin
POSTGRES_PORT: 5432
POSTGRES_USER: admin
PGDATA: /var/lib/postgresql/data/pgdata
restart: unless-stopped
volumes:
- postgres:/var/lib/postgresql/data
networks:
- default
|