[GH-ISSUE #1] Docker Image #612

Closed
opened 2026-03-14 09:45:00 +03:00 by kerem · 29 comments
Owner

Originally created by @andrewkdinh on GitHub (Jul 27, 2019).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/1

Any plans on a docker image, either built through a Dockerfile or as one on Docker Hub?

Originally created by @andrewkdinh on GitHub (Jul 27, 2019). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/1 Any plans on a docker image, either built through a Dockerfile or as one on [Docker Hub](https://hub.docker.com)?
kerem closed this issue 2026-03-14 09:45:06 +03:00
Author
Owner

@anonaddy commented on GitHub (Aug 2, 2019):

Only just seen this, sorry. Not at the moment I'm afraid.

I haven't used docker before so would need to learn how to use it and how to create an image.

I'll be adding more details on setting up the server and Postfix for self hosting shortly though.

<!-- gh-comment-id:517629212 --> @anonaddy commented on GitHub (Aug 2, 2019): Only just seen this, sorry. Not at the moment I'm afraid. I haven't used docker before so would need to learn how to use it and how to create an image. I'll be adding more details on setting up the server and Postfix for self hosting shortly though.
Author
Owner

@irazasyed commented on GitHub (Nov 1, 2019):

Yeah, Docker image / setup would be very cool. We recently started using for a bunch of our projects.

I can help you with this if you're open for it. We could make use of Docker Compose to have multiple images.

My recent custom image for a project:
https://github.com/ougco/docker-laravel-php

<!-- gh-comment-id:548711084 --> @irazasyed commented on GitHub (Nov 1, 2019): Yeah, Docker image / setup would be very cool. We recently started using for a bunch of our projects. I can help you with this if you're open for it. We could make use of Docker Compose to have multiple images. My recent custom image for a project: https://github.com/ougco/docker-laravel-php
Author
Owner

@anonaddy commented on GitHub (Nov 1, 2019):

Thanks, that would be great.

I'll have a read about Docker Compose as I agree it would be great to able to spin up a VPS and self-host quickly instead of having to manually configure everything.

I've got a few things on my to do list at the moment but I'll try to make a start on this as soon as I can.

<!-- gh-comment-id:548724055 --> @anonaddy commented on GitHub (Nov 1, 2019): Thanks, that would be great. I'll have a read about Docker Compose as I agree it would be great to able to spin up a VPS and self-host quickly instead of having to manually configure everything. I've got a few things on my to do list at the moment but I'll try to make a start on this as soon as I can.
Author
Owner

@ra-pha commented on GitHub (Nov 4, 2019):

+1 for that idea

<!-- gh-comment-id:549278933 --> @ra-pha commented on GitHub (Nov 4, 2019): +1 for that idea
Author
Owner

@slurdge commented on GitHub (Dec 13, 2019):

Hey @anonaddy would you need help for the docker image ? I guess the main difficulty is that the services are intertwined in each other so it's needed to create a big docker image with everything...
Let me know if you want me to have a look at it.

<!-- gh-comment-id:565410892 --> @slurdge commented on GitHub (Dec 13, 2019): Hey @anonaddy would you need help for the docker image ? I guess the main difficulty is that the services are intertwined in each other so it's needed to create a big docker image with everything... Let me know if you want me to have a look at it.
Author
Owner

@anonaddy commented on GitHub (Dec 13, 2019):

@slurdge yes, thank you. I have a fair bit on my to do list at the moment so don't currently have time to look into learning Docker and to set this image up myself.

I can provide you with a list of all software required and basic configuration, feel free to contact me via email if you think that would be easier.

<!-- gh-comment-id:565475028 --> @anonaddy commented on GitHub (Dec 13, 2019): @slurdge yes, thank you. I have a fair bit on my to do list at the moment so don't currently have time to look into learning Docker and to set this image up myself. I can provide you with a list of all software required and basic configuration, feel free to contact me via email if you think that would be easier.
Author
Owner

@crazy-max commented on GitHub (Dec 15, 2019):

I have a working Docker image but I haven't tested all the features. I can publish it right now but I prefer #12 and #13 to be fixed.

image

image

image

image

<!-- gh-comment-id:565766077 --> @crazy-max commented on GitHub (Dec 15, 2019): I have a working Docker image but I haven't tested all the features. I can publish it right now but I prefer #12 and #13 to be fixed. ![image](https://user-images.githubusercontent.com/1951866/70856354-5884f100-1edb-11ea-9b8a-d99acfc965db.png) ![image](https://user-images.githubusercontent.com/1951866/70856357-60dd2c00-1edb-11ea-9566-19c967b22a27.png) ![image](https://user-images.githubusercontent.com/1951866/70856368-997d0580-1edb-11ea-8ff6-71ea145f6f7a.png) ![image](https://user-images.githubusercontent.com/1951866/70856363-81a58180-1edb-11ea-83f4-c0af45ad9abf.png)
Author
Owner

@slurdge commented on GitHub (Dec 15, 2019):

Terrific! Would you mind sharing it even if it's not stable yet, I'm willing to guinea-pig and reinstall once #12 and #13 are fixed.

<!-- gh-comment-id:565795692 --> @slurdge commented on GitHub (Dec 15, 2019): Terrific! Would you mind sharing it even if it's not stable yet, I'm willing to guinea-pig and reinstall once #12 and #13 are fixed.
Author
Owner

@crazy-max commented on GitHub (Dec 15, 2019):

Terrific! Would you mind sharing it even if it's not stable yet

@slurdge Image available at https://github.com/crazy-max/docker-anonaddy/

<!-- gh-comment-id:565822813 --> @crazy-max commented on GitHub (Dec 15, 2019): > Terrific! Would you mind sharing it even if it's not stable yet @slurdge Image available at https://github.com/crazy-max/docker-anonaddy/
Author
Owner

@slurdge commented on GitHub (Dec 16, 2019):

@crazy-max I took a look at it, seems great. I only have one remark, shouldn't the web part and the postfix part be two separate containers ? They share some php code but I believe they have no dependencies on each other ?

Also, @anonaddy , I can't wrap my head around the need for MAIL_HOST/MAIL_USER/etc env variables. Why rely on a 3rd party SMTP server as postfix is right here ?

<!-- gh-comment-id:566017762 --> @slurdge commented on GitHub (Dec 16, 2019): @crazy-max I took a look at it, seems great. I only have one remark, shouldn't the web part and the postfix part be two separate containers ? They share some php code but I believe they have no dependencies on each other ? Also, @anonaddy , I can't wrap my head around the need for MAIL_HOST/MAIL_USER/etc env variables. Why rely on a 3rd party SMTP server as postfix is right here ?
Author
Owner

@anonaddy commented on GitHub (Dec 16, 2019):

@slurdge currently out of office so will respond properly in a day or two.

The MAIL_HOST and other env variables need to be removed from the env.example file, I forgot to update it.

The MAIL_DRIVER should be sendmail so that emails are sent using Postfix.

<!-- gh-comment-id:566032171 --> @anonaddy commented on GitHub (Dec 16, 2019): @slurdge currently out of office so will respond properly in a day or two. The MAIL_HOST and other env variables need to be removed from the env.example file, I forgot to update it. The MAIL_DRIVER should be sendmail so that emails are sent using Postfix.
Author
Owner

@slurdge commented on GitHub (Dec 17, 2019):

I tried the image provided by @crazy-max and could run it (at least web interface). I have a few issues (https/http mixed, etc.) that I'll try to resolve.

<!-- gh-comment-id:566776609 --> @slurdge commented on GitHub (Dec 17, 2019): I tried the image provided by @crazy-max and could run it (at least web interface). I have a few issues (https/http mixed, etc.) that I'll try to resolve.
Author
Owner

@crazy-max commented on GitHub (Dec 18, 2019):

I have a few issues (https/http mixed, etc.) that I'll try to resolve.

@slurdge Leave an issue on my repo about that (maybe you missed APP_URL en var).

<!-- gh-comment-id:567149589 --> @crazy-max commented on GitHub (Dec 18, 2019): > I have a few issues (https/http mixed, etc.) that I'll try to resolve. @slurdge Leave an issue on my repo about that (maybe you missed `APP_URL` en var).
Author
Owner

@slurdge commented on GitHub (Dec 18, 2019):

Yes I'll open issues :-)

<!-- gh-comment-id:567231602 --> @slurdge commented on GitHub (Dec 18, 2019): Yes I'll open issues :-)
Author
Owner

@anonaddy commented on GitHub (Dec 20, 2019):

#12 and #13 should now both be sorted, thanks for the contributions. I'll be able to hopefully contribute to this image in the new year.

<!-- gh-comment-id:567864275 --> @anonaddy commented on GitHub (Dec 20, 2019): #12 and #13 should now both be sorted, thanks for the contributions. I'll be able to hopefully contribute to this image in the new year.
Author
Owner

@slurdge commented on GitHub (Dec 23, 2019):

So, by playing around with @crazy-max new image, I was able to create a new recipient and confirm it.
I'm trying to sort out https://github.com/crazy-max/docker-anonaddy/issues/2 and then I should be able to test with incoming emails.

<!-- gh-comment-id:568579895 --> @slurdge commented on GitHub (Dec 23, 2019): So, by playing around with @crazy-max new image, I was able to create a new recipient and confirm it. I'm trying to sort out https://github.com/crazy-max/docker-anonaddy/issues/2 and then I should be able to test with incoming emails.
Author
Owner

@h-town commented on GitHub (Jan 2, 2020):

Thanks for your work here @crazy-max and @slurdge. Looking forward to this one!

<!-- gh-comment-id:570271864 --> @h-town commented on GitHub (Jan 2, 2020): Thanks for your work here @crazy-max and @slurdge. Looking forward to this one!
Author
Owner

@crazy-max commented on GitHub (Aug 18, 2020):

https://github.com/anonaddy/docker :)

<!-- gh-comment-id:675669328 --> @crazy-max commented on GitHub (Aug 18, 2020): https://github.com/anonaddy/docker :)
Author
Owner

@slurdge commented on GitHub (Aug 19, 2020):

Doing tests on it right now!

<!-- gh-comment-id:676199956 --> @slurdge commented on GitHub (Aug 19, 2020): Doing tests on it right now!
Author
Owner

@crazy-max commented on GitHub (Aug 19, 2020):

Fyi, I have set up a Vultr VPS instance (1 vCore CPU, 1024MB RAM, 25GB SSD) using an Alpine 3.12 ISO with a traefik and this AnonAddy docker image. For the DNS and domain I'm using Namecheap and everything looks good so far (~4 weeks).

<!-- gh-comment-id:676223866 --> @crazy-max commented on GitHub (Aug 19, 2020): Fyi, I have set up a [Vultr VPS instance](https://www.vultr.com/) (1 vCore CPU, 1024MB RAM, 25GB SSD) using an Alpine 3.12 ISO with a traefik and this AnonAddy docker image. For the DNS and domain I'm using [Namecheap](https://www.namecheap.com/) and everything looks good so far (~4 weeks).
Author
Owner

@slurdge commented on GitHub (Aug 19, 2020):

I comment here because I'm not sure it comes from docker or anonaddy itself. After starting the instance, I can't create 'admin', 'anonaddy', or 'test' users. Is there any place where these forbidden usernames is defined ? Tells me they are already taken.

<!-- gh-comment-id:676310154 --> @slurdge commented on GitHub (Aug 19, 2020): I comment here because I'm not sure it comes from docker or anonaddy itself. After starting the instance, I can't create 'admin', 'anonaddy', or 'test' users. Is there any place where these forbidden usernames is defined ? Tells me they are already taken.
Author
Owner

@crazy-max commented on GitHub (Aug 19, 2020):

@slurdge You can't register against https://anonaddy.example.com/register?

<!-- gh-comment-id:676352260 --> @crazy-max commented on GitHub (Aug 19, 2020): @slurdge You can't register against `https://anonaddy.example.com/register`?
Author
Owner

@slurdge commented on GitHub (Aug 19, 2020):

@crazy-max I can, but if I select 'admin', 'anonaddy', or 'test' as the username, it refuses to register. However other logins like 'test123456' are fine. So there must be some kind of list of either pre-made accounts or forbidden accounts

<!-- gh-comment-id:676361705 --> @slurdge commented on GitHub (Aug 19, 2020): @crazy-max I can, but if I select 'admin', 'anonaddy', or 'test' as the username, it refuses to register. However other logins like 'test123456' are fine. So there must be some kind of list of either pre-made accounts or forbidden accounts
Author
Owner

@willbrowningme commented on GitHub (Aug 19, 2020):

@slurdge There is actually a username blacklist that is used here - https://github.com/anonaddy/anonaddy/blob/master/config/anonaddy.php

Do you think it would be best to remove this for the self-hosted version?

<!-- gh-comment-id:676365209 --> @willbrowningme commented on GitHub (Aug 19, 2020): @slurdge There is actually a username blacklist that is used here - https://github.com/anonaddy/anonaddy/blob/master/config/anonaddy.php Do you think it would be best to remove this for the self-hosted version?
Author
Owner

@slurdge commented on GitHub (Aug 19, 2020):

@willbrowningme Thanks! I didn't find this list :-)
I think it's fine to leave it in the self-hosted version, after all, it's here for a reason!

<!-- gh-comment-id:676369411 --> @slurdge commented on GitHub (Aug 19, 2020): @willbrowningme Thanks! I didn't find this list :-) I think it's fine to leave it in the self-hosted version, after all, it's here for a reason!
Author
Owner

@crazy-max commented on GitHub (Aug 19, 2020):

@willbrowningme

There is actually a username blacklist that is used

Didn't know about that thanks for the tip!

Do you think it would be best to remove this for the self-hosted version?

It's fine to keep this list.

I think we can close this issue now, WDYT?

<!-- gh-comment-id:676402882 --> @crazy-max commented on GitHub (Aug 19, 2020): @willbrowningme > There is actually a username blacklist that is used Didn't know about that thanks for the tip! > Do you think it would be best to remove this for the self-hosted version? It's fine to keep this list. I think we can close this issue now, WDYT?
Author
Owner

@slurdge commented on GitHub (Aug 19, 2020):

Well I still can't make it work from a pristine install, but maybe it's best to discuss it on the docker repo :-)

<!-- gh-comment-id:676421665 --> @slurdge commented on GitHub (Aug 19, 2020): Well I still can't make it work from a pristine install, but maybe it's best to discuss it on the docker repo :-)
Author
Owner

@crazy-max commented on GitHub (Aug 19, 2020):

@slurdge Yeah if it's about anonaddy/docker#21 it's ok to close this issue.

<!-- gh-comment-id:676440592 --> @crazy-max commented on GitHub (Aug 19, 2020): @slurdge Yeah if it's about anonaddy/docker#21 it's ok to close this issue.
Author
Owner

@andrewkdinh commented on GitHub (Sep 4, 2020):

Looks great. Thanks!

<!-- gh-comment-id:686953819 --> @andrewkdinh commented on GitHub (Sep 4, 2020): Looks great. Thanks!
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#612
No description provided.