Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: Docker Install - Horizontal Reading Pane Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wdatkinson
Newbie
Newbie


Joined: 04 April 2024
Location: United States
Online Status: Offline
Posts: 2
Posted: 04 April 2024 at 11:45am | IP Logged Quote wdatkinson

I'm simply trying to enable the horizontal reading pane. However, since the docker-compose doesn't have a volume at all for the web app and no local mapping for the DB, meaning everything would be lost on restart.

I did a git clone of the light repository, then built the image via shell since I'm running portainer. Hence the image reference.

Here is my current docker-compose.ym:

version: "3.3"

services:
web:
    container_name: afterlogic-webmail-lite
    image: 7e2388c9b84a
    depends_on:
      - db
    ports:
      - "8091:80"
    volumes:
      - /docker/afterlogic/html:/var/www/html
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
      - 'traefik.enable=true'
      - 'traefik.http.routers.afterlogic.rule=Host(`afterlogic.xxxx.net`)'
      - 'traefik.http.routers.afterlogic.tls=true'
      - 'traefik.http.routers.afterlogic.tls.certresolver=le'
      - 'traefik.http.routers.afterlogic.service=afterlogic'
      - 'traefik.http.services.afterlogic.loadbalancer.server.port=80'
      - 'traefik.http.routers.afterlogic.tls.domains[0].sans=*.xxxx.net'
db:
    image: mysql:8
    command: --default-authentication-plugin=mysql_native_password
    ports:
      - "3306"
    volumes:
      - /docker/afterlogic/db:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: *SECRET*
      MYSQL_DATABASE: afterlogic
      MYSQL_USER: afterlogic
      MYSQL_PASSWORD: *SECRET*
    cap_add:
      - SYS_NICE # CAP_SYS_NICE
    
The only references I'm able to find online refer me to editing data/settings/modules/MailWebclient.config.json, but with no volume mappings you can only edit it from within the container, making it efemoral.

With my above, /docker/afterlogic/html is empty after starting the container.... I expected to see the directory contents from the image, allowing me to edit the necessary json files.

Any help appreciated.

      
Back to Top View wdatkinson's Profile Search for other posts by wdatkinson
 
wdatkinson
Newbie
Newbie


Joined: 04 April 2024
Location: United States
Online Status: Offline
Posts: 2
Posted: 04 April 2024 at 5:31pm | IP Logged Quote wdatkinson

Resolved by using a named volume.
Back to Top View wdatkinson's Profile Search for other posts by wdatkinson
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide