Commit Graph

316 Commits

Author SHA1 Message Date
Erik Huelsmann
62e773da73
Nginx reverse proxy combined with Starman server in one image (#46)
* feat: provide image with nginx

* Re-use parent container configuration and startup scripts

* Rewrite proxy Dockerfile:

* ARCH used to be hard-coded; is now set according to the architecture being built
* Build from the associated LedgerSMB base image (not from 'lsmb-split')
* More deletion of non-required files (/usr/share/doc/*)
* Fewer layers by combining RUN commands

* Use 'server-start' script generated by the installer instead of repeating ourselves

* Don't expose the status module

It won't be accessible anyway: the localhost address is the one inside the container...

* Ensure relative redirects

When the container port :80 is exposed as :8080 on the host,
nginx redirects to http://localhost:80/login.pl with a relative
path, instead of http://localhost:8080/login.pl; the container
isn't bound to :80, so that request fails...

* Rename proxy layer image

* Adjust 'build' script to publish base and regular images

---------

Co-authored-by: Walid Mujahid <walidmujahid@gmail.com>
2025-08-09 14:34:32 +02:00
Erik Huelsmann
acb9ad1bda Add build script to be called by ledgersmb-release-tools/publish 2025-08-09 14:09:56 +02:00
Erik Huelsmann
9c4c8c6966
Merge pull request #45 from ledgersmb/1.12-split-setup
Some checks are pending
Docker Image cleanup / cleanup (push) Waiting to run
Split configuration generator from server-starting script
2025-08-08 23:14:41 +02:00
Erik Huelsmann
0690e55c43 Move last 'config' responsibility into config.sh
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-08-05 11:46:57 +02:00
Erik Huelsmann
b290e69a3b Incorporate reviews from Copilot 2025-08-05 11:46:35 +02:00
Erik Huelsmann
44abf50a98
Merge branch '1.13' into 1.12-split-setup 2025-08-05 11:34:30 +02:00
Erik Huelsmann
82660ad113 Restore installing 'psql' from 'pgdg' (the PostgreSQL repository)
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-08-02 14:23:10 -04:00
Erik Huelsmann
a673ee79a4 Add debug output and install in /srv instead of in / 2025-08-02 14:03:38 -04:00
Erik Huelsmann
ce0237594a * Automatic Dockerfile update by release process 2025-08-02 14:03:38 -04:00
Erik Huelsmann
dae92fc561
Update start.sh
Add local::lib configuration from the installer
2025-08-02 20:02:34 +02:00
Erik Huelsmann
d27aa413b3 Replace complex 2-phase build with installer 2025-08-02 05:19:16 -04:00
Erik Huelsmann
ac608a9d7e * Automatic Dockerfile update by release process
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-07-12 15:42:08 -04:00
Erik Huelsmann
f0f7676e30
Merge pull request #42 from neilt/1.12
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
Add AI warning recommended by ChatGPT
2025-06-12 18:03:28 +02:00
Neil Tiffin
85871e77fd Add AI warning recommeded by ChatGPT so that it will not simplify docker installations 2025-06-12 11:48:28 -04:00
Erik Huelsmann
4f9af73c13 * Automatic Dockerfile update by release process
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-06-09 17:55:02 -04:00
Erik Huelsmann
87baa6c4b3 * Automatic Dockerfile update by release process
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-05-13 17:16:33 -04:00
Erik Huelsmann
1ec5bf1ef4 * Automatic Dockerfile update by release process
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-04-25 16:22:38 -04:00
Erik Huelsmann
987ff7e540 * Automatic Dockerfile update by release process
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-04-05 18:26:30 -04:00
Erik Huelsmann
f311ceeb80 * Automatic Dockerfile update by release process
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-03-23 11:59:56 -04:00
Erik Huelsmann
12e8cfa41b
Update Dockerfile
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-03-15 19:04:09 +01:00
Erik Huelsmann
7c54656362 As of 1.12.6 and 1.11.22, Class::C3::XS is in 'cpanfile'
Meaning there's no need to explicitly mention it in the
package installation lines; it'll be automatically mapped.
2025-03-15 17:54:15 +01:00
Erik Huelsmann
c036e6dddf Copy config and run scripts into the resulting image 2025-03-01 21:00:20 +01:00
Erik Huelsmann
70c3da3918 Split run.sh out of start.sh 2025-03-01 18:16:45 +01:00
Erik Huelsmann
cfebf0a659 Split config and start scripts 2025-03-01 18:03:59 +01:00
Erik Huelsmann
6dd3c079fe Update to use new ENV key=val syntax (instead of space separator)
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-03-01 16:16:59 +01:00
Erik Huelsmann
a60308f288 * Automatic Dockerfile update by release process
Some checks are pending
Docker Image cleanup / cleanup (push) Waiting to run
2025-03-01 06:27:18 -05:00
Erik Huelsmann
c2475afab5 Fix (START)TLS settings from container environment variables
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-02-21 20:19:24 +01:00
Erik Huelsmann
20bf57b4f8 Use Debian-provided installation script 2025-02-21 13:52:23 +01:00
Erik Huelsmann
942b098a7f * Automatic Dockerfile update by release process
Some checks are pending
Docker Image cleanup / cleanup (push) Waiting to run
2025-02-21 04:43:37 -05:00
Erik Huelsmann
50cdfc2145 Fix SASL authentication for outgoing e-mail with specified SASL mechanism 2025-02-21 09:46:30 +01:00
Erik Huelsmann
6c1602051f * Automatic Dockerfile update by release process
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-02-07 11:53:09 -05:00
Erik Huelsmann
7e937b8e8c * Automatic Dockerfile update by release process 2025-01-23 17:12:18 -05:00
Erik Huelsmann
86885f20f7 * Automatic Dockerfile update by release process 2025-01-05 09:41:13 -05:00
Erik Huelsmann
7af784a491
Create images-cleanup.yml
Clean up untagged images from the 'ledgersmb' package repo
2024-12-28 12:20:59 +01:00
Erik Huelsmann
d2b7939206 * Automatic Dockerfile update by release process 2024-12-14 18:06:38 -05:00
Erik Huelsmann
5226a66d35 Update README in preparation of 1.12 release 2024-12-14 21:21:10 +01:00
Erik Huelsmann
40a2a27902 Fix transport class
LedgerSMB::Mailer::TransportSMTP was a work-around; the fix is now upstream.
2024-12-08 16:06:01 +01:00
Erik Huelsmann
880df4b5ad
Install 1.12 on the 1.12 branch 2024-10-31 14:26:35 +01:00
Erik Huelsmann
1cd90e0e57
Update Dockerfile 2024-09-06 16:15:41 +02:00
Erik Huelsmann
99161642eb * Automatic Dockerfile update by release process 2024-09-06 09:31:29 -04:00
Erik Huelsmann
90af6cd03f * Automatic Dockerfile update by release process 2024-08-21 12:01:48 -04:00
Erik Huelsmann
7cea8cfb8d Change to actions/stale from no-response action 2024-08-11 23:26:23 +02:00
Erik Huelsmann
5670f5760f * Automatic Dockerfile update by release process 2024-08-01 17:01:17 -04:00
Erik Huelsmann
4fb8f0fba8
Update docker-compose.yml 2024-06-02 23:10:07 +02:00
Erik Huelsmann
e329f0617a
Update README.md 2024-06-02 23:05:05 +02:00
Erik Huelsmann
ac2d4a8ae3 * Automatic Dockerfile update by release process 2024-05-06 16:43:46 -04:00
Erik Huelsmann
e254cb705c * Automatic Dockerfile update by release process 2024-04-26 08:48:16 -04:00
Erik Huelsmann
5849b64fde Eliminate apt-key deprecation warning 2024-04-09 21:24:30 +02:00
Erik Huelsmann
791df8fd1f * Automatic Dockerfile update by release process 2024-04-09 14:13:11 -04:00
Erik Huelsmann
5110bfcbbc * Automatic Dockerfile update by release process 2024-03-14 17:00:27 -04:00