name: peppermint
services:
  app:
    image: pepperlabs/peppermint:latest
    ports:
      - target: 5000
        published: 5000
        protocol: tcp
    depends_on:
      - db
    environment:
      PORT: 5000
      DB_USERNAME: casaos
      DB_PASSWORD: casaos
      DB_HOST: db
      BASE_URL: http://casaos.local:5000
    restart: unless-stopped
  db:
    image: postgres:15.17
    restart: unless-stopped
    environment:
      PUID: $PUID
      PGID: $PGID
      TZ: $TZ
      POSTGRES_USER: casaos
      POSTGRES_PASSWORD: casaos
      POSTGRES_DB: casaos
    x-casaos:
      envs:
        - container: PUID
          description:
            en_us: for UserID
        - container: PGID
          description:
            en_us: for GroupID
        - container: TZ
          description:
            en_us: specify a timezone to use, see this list.
        - container: POSTGRES_DB
          description:
            en_us: Specify the name of a database to be created on image startup.
        - container: POSTGRES_USER
          description:
            en_us: Postgres server username
        - container: POSTGRES_PASSWORD
          description:
            en_us: Postgres server password
      volumes:
        - container: /var/lib/postgresql/data
          description:
            en_us: Directory where Postgres database data is stored
    volumes:
      - type: bind
        source: /DATA/AppData/peppermint/postgres/data
        target: /var/lib/postgresql/data
x-casaos:
  architectures:
    - amd64
  main: app
  description:
    en_us: Peppermint is a central hub for your help desk. A powerfully easy system for tracking, prioritising, and solving customer support tickets.
  tagline:
    en_us: Peppermint is a central hub for your help desk. A powerfully easy system for tracking, prioritising, and solving customer support tickets.
  developer: Pepperlabs
  author: WisdomSky
  screenshot_link:
    - https://preview.redd.it/jrmmd2eeafe81.png?width=2878&format=png&auto=webp&s=87e8eaa264bec2154aad268cbb114978b64b0e85
    - https://preview.redd.it/nvv28jeeafe81.png?width=2878&format=png&auto=webp&s=c52bad873fc7051c0e1eaa46f612dfcc9f10a7a4
    - https://preview.redd.it/511ej8eeafe81.png?width=2880&format=png&auto=webp&s=49bae4c8109a2180c3e837c0fa6c517e7aee1780
    - https://preview.redd.it/2jz3bbeeafe81.png?width=2878&format=png&auto=webp&s=4488044fba794cf59a821526820a8efaa4cb8349
    - https://preview.redd.it/z079czeeafe81.png?width=2878&format=png&auto=webp&s=9e4e7ba029c96c74764137ee75dcb5251aaaa24e
    - https://preview.redd.it/fepz11eeafe81.png?width=2878&format=png&auto=webp&s=be8d7350fcec1d2d3041f15750ab309d482c25cf
    - https://preview.redd.it/a348a6eeafe81.png?width=2878&format=png&auto=webp&s=730d64228f99a50b72ebf81cbcaed35458acd1cb
    - https://preview.redd.it/bkho3aeeafe81.png?width=2878&format=png&auto=webp&s=445ebfd2435521162843164eed690c23c43d6fb6
    - https://preview.redd.it/t56ne0eeafe81.png?width=2878&format=png&auto=webp&s=b42ae459e5b0e9d9f65bc33784ed0d0dd2fb1eaa
  icon: https://cdn.jsdelivr.net/gh/WisdomSky/CasaOS-Coolstore@main/Apps/peppermint/icon.png
  thumbnail: https://cdn.jsdelivr.net/gh/WisdomSky/CasaOS-Coolstore@main/Apps/peppermint/icon.png
  title:
    en_us: Peppermint
  category: Coolstore
  tips:
    before_install:
      en_us: |
        ### Additional Instructions:

        After finished installing, open the `app settings` and update the `BASE_URL` to point it to your Home Server's IP Address.

        e.g:
        ```
        http://192.168.31.31:5000
        ```

        ### Default credentials:

        Username: `admin@admin.com`

        Password: `1234`
  port_map: '5000'
