Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mail System
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Picasoft
Technique
Services
Mail System
Commits
1d725885
Commit
1d725885
authored
11 months ago
by
Romain De Laage De Bellefaye
Browse files
Options
Downloads
Patches
Plain Diff
Add webmail
parent
ebe9b688
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compose.yml
+20
-2
20 additions, 2 deletions
compose.yml
webmail/Dockerfile
+17
-0
17 additions, 0 deletions
webmail/Dockerfile
with
37 additions
and
2 deletions
docker-
compose.yml
→
compose.yml
+
20
−
2
View file @
1d725885
version
:
"
3.7"
networks
:
mail
:
name
:
pica-mail
...
...
@@ -101,6 +99,26 @@ services:
tls-certs-monitor.action
:
restart
restart
:
unless-stopped
webmail
:
image
:
registry.picasoft.net/webmail:827a3b87
build
:
webmail
container_name
:
webmail
command
:
-
"
/opt/alps/alps"
-
"
-theme"
-
"
alps"
-
"
imap://mail.picasoft.net:143"
-
"
smtp://mail.picasoft.net:587"
networks
:
-
proxy
labels
:
traefik.http.routers.webmail.entrypoints
:
websecure
traefik.http.routers.webmail.rule
:
"
Host(`mail.picasoft.net`)"
traefik.http.routers.webmail.service
:
webmail
traefik.http.services.webmail.loadbalancer.server.port
:
1323
traefik.enable
:
true
restart
:
unless-stopped
postfix-exporter
:
image
:
registry.picasoft.net/postfix-exporter:a6f58e9
build
:
https://github.com/kumina/postfix_exporter.git#a6f58e9b2b2b4decc7e65c5a34b4fd53cd6665f1
...
...
This diff is collapsed.
Click to expand it.
webmail/Dockerfile
0 → 100644
+
17
−
0
View file @
1d725885
FROM
golang:alpine
AS
BUILDER
ARG
ALPS_VERSION=827a3b874716257990d7f504d4d20941e9d070b7
RUN
apk add
--no-cache
curl
&&
\
curl
-o
alps.tar.gz
-l
https://git.sr.ht/~migadu/alps/archive/
$ALPS_VERSION
.tar.gz
&&
\
mkdir
-p
/opt/alps /build-alps
&&
\
tar
xzf alps.tar.gz
--strip-components
1
-C
/build-alps
&&
\
cd
/build-alps
&&
\
CGO_ENABLE
=
0 go build
-ldflags
=
'-s -w'
./cmd/alps
&&
\
cp
-r
themes plugins alps /opt/alps
FROM
alpine
COPY
--from=BUILDER /opt/alps /opt/alps
WORKDIR
/opt/alps
EXPOSE
1323
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment