Wygiwyh Server

Source: Portainer stack 118 (wygiwyh_server) on endpoint 2.

version: "3.9"

services:
  web:
    image: eitchtee/wygiwyh:latest
    container_name: wygiwyh_server
    restart: unless-stopped
    depends_on:
      - db
    ports:
      - "9227:8000"
    environment:
      TZ: "America/New_York"
      DEBUG: "false"
      URL: "https://wygiwyh.mrdtech.me"
      HTTPS_ENABLED: "true"
      SECRET_KEY: ${REDACTED}
      DJANGO_ALLOWED_HOSTS: "10.10.10.50 localhost 127.0.0.1 wygiwyh.mrdtech.me"
      INTERNAL_PORT: "8000"

      # Admin auto-create
      ADMIN_EMAIL: "[email protected]"
      ADMIN_PASSWORD: ${REDACTED}

      # Database
      SQL_DATABASE: "wygiwyh"
      SQL_USER: "wygiwyh"
      SQL_PASSWORD: ${REDACTED}
      SQL_HOST: "wygiwyh_pg"
      SQL_PORT: "5432"

      # App behavior
      WEB_CONCURRENCY: "4"
      ENABLE_SOFT_DELETE: "false"
      KEEP_DELETED_TRANSACTIONS_FOR: "365"
      TASK_WORKERS: "1"

    volumes:
      - wygiwyh_static:/app/static/
      - wygiwyh_media:/app/media/

  db:
    image: postgres:15
    container_name: wygiwyh_pg
    restart: unless-stopped
    environment:
      POSTGRES_USER: "wygiwyh"
      POSTGRES_PASSWORD: ${REDACTED}
      POSTGRES_DB: "wygiwyh"
      TZ: "America/New_York"
    volumes:
      - wygiwyh_db:/var/lib/postgresql/data/

volumes:
  wygiwyh_db:
  wygiwyh_static:
  wygiwyh_media:

This page was last edited on 2026-06-14 01:44

Powered by Wiki|Docs

This page was last edited on 2026-06-14 01:44

MRDTECH Wiki / Engineer / Tech Enthusiast / Homelab Geek
No Copyright

Powered by Wiki|Docs