Sign inSign up

bramfoxie/sogo

By bramfoxie

•Updated 22 days ago

Image
0

425

bramfoxie/sogo repository overview

SOGo⁠ groupware, built from source (official release tarballs) on debian:bookworm-slim. Small image, ships both the MySQL and PostgreSQL GDL adaptors.

Ships just sogod — put memcached, a database (MySQL or PostgreSQL) and an nginx front-end alongside it. Listens on 20000/tcp. On start the entrypoint publishes SOGo's WebServerResources (css/js/img/fonts) into /srv/www — share that path with your front-end so it can serve the static assets.

⁠Tags

5.12.9, latest — the tag is the SOGo version. Pin a version for production.

⁠Run

services:
  sogo:
    image: bramfoxie/sogo:5.12.9
    environment:
      DB_HOST: postgres
      DB_NAME: sogo
      DB_USER: sogo
      DB_PASSWORD: change-me
      MEMCACHED_HOST: memcached
      SOGO_MAIL_DOMAIN: example.com
    expose: ["20000"]
    volumes:
      - sogo_www:/srv/www          # front-end serves WebServerResources from here

Also needs memcached, a database and an nginx reverse proxy. Point nginx's /SOGo.woa/WebServerResources/ at the shared /srv/www volume.

⁠Database

The image contains both adaptors, so SOGo can talk to MySQL or PostgreSQL — it is chosen by the DB URLs in sogo.conf.

The built-in env-based generator (DB_HOST/DB_NAME/… → sogo.conf) emits a PostgreSQL URL. For MySQL, mount your own sogo.conf with mysql://… URLs over /etc/sogo/sogo.conf — the entrypoint keeps a mounted config untouched (set SOGO_CONF_FORCE=1 to regenerate).

⁠Key environment variables

DB_HOST DB_PORT DB_NAME DB_USER DB_PASSWORD · MEMCACHED_HOST · SOGO_WORKERS · SOGO_MAIL_DOMAIN SOGO_IMAP_URL SOGO_SMTP_URL · TZ

To log in you must set SOGoUserSources (LDAP/SQL) in sogo.conf.

Upstream: https://github.com/Alinto/sogo⁠

Tag summary

Content type

Image

Digest

sha256:949735e1d…

Size

82 MB

Last updated

22 days ago

docker pull bramfoxie/sogo