Files

27 lines
714 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: meshchatx_web_1
APP_PORT: 8000
web:
image: ghcr.io/quad4-software/meshchatx:4.10.7@sha256:051f8169e0b2950327fbe19327b946f48085b9c91f82bf13e617d13a9591685b
restart: on-failure
user: "1000:1000"
ulimits:
nofile:
soft: 65536
hard: 65536
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/v1/status')"]
interval: 30s
timeout: 5s
retries: 3
start_period: 90s
volumes:
- ${APP_DATA_DIR}/data:/config
environment:
MESHCHAT_NO_HTTPS: "true" # disable https