aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: ecc23809fffefc54ca0c35b862a947e484604f89 (plain) (blame)
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
services:
  ts6-webview:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: ts6-webview
    restart: unless-stopped
    env_file:
      - .env
    environment:
      WEB_HOST: "0.0.0.0"
      WEB_PORT: "5000"
      # Set to true when running behind Nginx / Caddy on the same host so
      # per-IP rate limits use X-Forwarded-For instead of the proxy IP.
      VOICE_TRUST_PROXY: "true"
    ports:
      - "127.0.0.1:5000:5000"
    volumes:
      - ./config.toml:/app/config.toml:ro
      - ./static:/app/static:ro
    # Optional resource cap for small arm64 SBCs
    deploy:
      resources:
        limits:
          memory: 256M
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage