-
-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Image Outdated? #916
Comments
@viveksjain we'll publish the new image in the next coming months. Our calendar is unfortunately packed at the moment but rest assured that releasing new image is in our todo list :). |
@nguyenkims does the site simple checkout a specific commit and runs on this version instead of docker images? |
@henokv We deploy new versions quite often, you can see the current version running at https://app.simplelogin.io/git And yes you can run the latest version on your server. This version isn't tested in a self hosted setup though so run it at your own risk :). |
The latest edit in changelog goes back to a year (3.4.0). You could also setup a CI/CD, to release at least a |
Any news about a new up-to-date docker image? |
There's |
Thanks @alpha-tango-kilo I used the upgrade infos from here 4.6.2-beta/docs/upgrade.md but used the At the upgrade and also at starting the containers I am getting some warnings, but it seems everything is working.
|
Nice one! Hadn't thought to check other branches. Might have to try it myself when my stress levels are too low 😛 |
Hi @nguyenkims Any update on a new stable release of the Docker image? It seems odd that there have been numerous 4.x.x releases and no image to deploy this with. Thanks! :) |
@thecosmicfrog we are beta testing the new version on 4.6.2-beta https://github.com/simple-login/app/tree/4.6.2-beta, don't hesitate to check it out. |
Thanks @nguyenkims. Looks like you have migration instructions too. I'll take a look this weekend. |
app [4.6.2-beta] is there in docker but its only available for amd64 not for arm64 when we could expect the same for arm64 ?? |
@sakearzoo I've pushed the image for arm64, can you try now? |
@nguyenkims it would be helpful if you provide me docker-compose template with tls cert (currently using traefik as reverse proxy) And i couldn't find any way to configure MTA-STS and other security measures on docker using env? |
There are two ongoing/open PRs for Docker Compose support: #309 & #355. They both take slightly different approaches and have slightly different 'extras' (probably part of the reason why they're not merged yet). Take a look and see what you fancy. You probably should be contributing to the conversation there rather than here given it's a completely separate issue. I've managed to set up a more barebones config that's just strictly the SimpleLogin containers, reach out to me if you'd prefer that to what's already available. |
Hi, I'm interested in how you achieved it. I've been used #355 approach but looking for how others do. |
I have a version: "2.2"
networks:
default:
name: sl-network
ipam:
config:
- subnet: 240.0.0.0/24
gateway: 240.0.0.1
services:
postgres:
image: postgres:12.1
container_name: sl-db
ports:
- "5432:5432"
volumes:
- ./sl/db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=YOUR_USER
- POSTGRES_PASSWORD=YOUR_PASSWORD
- POSTGRES_DB=simplelogin
restart: unless-stopped
sl-app:
# The latest tag isn't maintained >:(
image: simplelogin/app:${SIMPLELOGIN_VERSION:?please specify simplelogin/app version}
container_name: sl-app
ports:
- "7777:7777"
volumes:
- ./sl:/sl
- ./sl/upload:/code/static/upload
- ./simplelogin.env:/code/.env
- ./dkim.key:/dkim.key:ro
- ./dkim.pub.key:/dkim.pub.key:ro
restart: unless-stopped
sl-email:
image: simplelogin/app:${SIMPLELOGIN_VERSION:?}
container_name: sl-email
command: python email_handler.py
ports:
- "20381:20381"
volumes:
- ./sl:/sl
- ./sl/upload:/code/static/upload
- ./simplelogin.env:/code/.env
- ./dkim.key:/dkim.key:ro
- ./dkim.pub.key:/dkim.pub.key:ro
restart: unless-stopped
sl-job-runner:
image: simplelogin/app:${SIMPLELOGIN_VERSION:?}
container_name: sl-job-runner
command: python job_runner.py
volumes:
- ./sl:/sl
- ./sl/upload:/code/static/upload
- ./simplelogin.env:/code/.env
- ./dkim.key:/dkim.key:ro
- ./dkim.pub.key:/dkim.pub.key:ro
restart: unless-stopped ⚠Note: your subnet may be different to mine, as it was changed in the getting started guide at one point⚠ |
@alpha-tango-kilo |
Dunno
No idea, I'm not providing any technical support for that snippet. Use/Modify at your own risk My attitude to SimpleLogin is "if it isn't broken, don't fix it" - it's not worth downtime on your email server |
I just upgraded my docker setup from As far as I can see, there are no bugs, everything is working absolutely fine without any modifications to the configuration. But I'll keep an eye on it for the next couple days. |
Wonderful, I'll also try it
…On 9/21/2022 6:15 PM, kylhuk wrote:
I just upgraded my docker setup from |v3.4.0| to |v4.14.8| and
everything works like a charm. What I did was upgrading it to the
|simplelogin/app:4.6.2-beta| image according to the |upgrade.md|
manual. After this was up and running, I did the exact same thing, but
replaced the image with |simplelogin/app-ci:v4.14.8|.
As far as I can see, there are no bugs, everything is working
absolutely fine without any modifications to the configuration. But
I'll keep an eye on it for the next couple days.
—
Reply to this email directly, view it on GitHub
<#916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQWBMYD4NVIOANJ66YD3RTV7L7OPANCNFSM5T52XS4Q>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Good to know @kylhuk, an update after a longer timeframe (at least a week) would be appreciated! I'm very cautious about updated SimpleLogin because my whole (email) life depends on it lol |
@alpha-tango-kilo up until today, I had no issues at all. You can easily backup everything, just by copying the folder, where you stored all the docker related data. This way you can always revert back to the old (v3.4.0) setup. |
Thanks for providing an update, I may give it a go at some point then! |
Is it possible to get a new 4.x Docker stable Version? Thx anyways for your good work. |
Thanks for this. I was able to get the latest version running. One caveat; when running the database migration command, use
|
@sakearzoo I setup MTA-STS and TLSRPT manually and tried to document that in #1806. Maybe this will help you. I’m happy for any feedback of course. |
Hi, |
Hey @nguyenkims, |
@maaaathis which branch you refer to? |
I mean the "4.6.2-beta" branch (https://github.com/simple-login/app/tree/4.6.2-beta) as said here #916 (comment) @nguyenkims There is also no "4.6.5-beta" branch, which is the latest released version in Docker Hub. |
@maaaathis I see, please use https://github.com/simple-login/app/tree/new-self-host-version instead. As the version changes, we don't want to use the branch |
For the record, by following the instructions in this repository, I was able to successfully:
As a shameless plug let me rephrase the instructions I have on my simple Docker-Compose for self-hosting SimpleLogin. How-to Upgrade
SL_IMAGE=app
SL_VERSION=4.6.5-beta
For instance, to upgrade from volumes:
- ./db:/var/lib/postgresql/data
restart: unless-stopped
migration:
image: simplelogin/app:$SL_VERSION
- command: [ "flask", "db", "upgrade" ]
+ command: [ "alembic", "upgrade", "head" ]
container_name: sl-migration
env_file: .env The following changes must be done in dbname = simplelogin
query = SELECT 'smtp:127.0.0.1:20381' FROM custom_domain WHERE domain = '%s' AND verified=true
+ UNION SELECT 'smtp:127.0.0.1:20381' FROM public_domain WHERE domain = '%s'
UNION SELECT 'smtp:127.0.0.1:20381' WHERE '%s' = 'mydomain.com' LIMIT 1; The following changes must be done in dbname = simplelogin
query = SELECT domain FROM custom_domain WHERE domain = '%s' AND verified=true
+ UNION SELECT domain FROM public_domain WHERE domain = '%s'
UNION SELECT '%s' WHERE '%s' = 'mydomain.com' LIMIT 1; Finally, the following command must be run in the database:
./down.sh && ./up.sh After successfully upgrading to
|
Anyone managed to get a
|
@loeffelpan Simplelogin is most probably working for you. It's the web app which isn't running. I got the same error on my web app but it somehow started working after I logged in a couple of days later. |
Correct it was just the web-app. But without it, it's hard to initially register and create aliases ;-) |
After upgrading following @springcomp instructions I'm getting this error in the docker-compose.yml
I got the webpage to work with EditI got it to work by starting all over again and deleting the |
Thanks for this great project. I guess this is pretty much same request as #364, it looks like docker image is over a year old. Is it possible to publish a new release? Docker-compose would be useful as well for quickly getting started but I guess that is tracked in #355.
The text was updated successfully, but these errors were encountered: