diff options
| author | Max Bossing <info@maxbossing.de> | 2025-09-30 18:02:29 +0200 | 
|---|---|---|
| committer | Max Bossing <info@maxbossing.de> | 2025-09-30 18:02:29 +0200 | 
| commit | 91a45232bd36727dca2e7474005e240d518d4c54 (patch) | |
| tree | 98fac5162ac356123716634284aece8c927f8106 /services/etherpad | |
init
Diffstat (limited to 'services/etherpad')
| -rw-r--r-- | services/etherpad/compose.yaml | 62 | 
1 files changed, 62 insertions, 0 deletions
| diff --git a/services/etherpad/compose.yaml b/services/etherpad/compose.yaml new file mode 100644 index 0000000..831723d --- /dev/null +++ b/services/etherpad/compose.yaml @@ -0,0 +1,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 | 
