app icon indicating copy to clipboard operation
app copied to clipboard

add docker-compose examples and apache2 setup to the self hosting instructions

Open FarisZR opened this issue 3 years ago • 9 comments

hi, after setting up simplelogin my self, i have noticed some stuff that would be useful for new comers, so i added them into the readme file.

top changes:

  • added docker-compose examples
  • added apache2 example setup
  • added 'local_recipient_maps' = note in postfix
  • added check for pgsql availability with postconf -m command
  • added postgres command to make all accounts premium by default.
  • added an option to add your own words for random_aliases
  • fixed chrome addon badge

note the apache file is built on default-ssl.conf.

FarisZR avatar Oct 12 '20 18:10 FarisZR

Docker-compose: a single docker-compose file that takes care of all the steps: sl-migration, sl-init, sl-app, sl-email

for the temporary containers i think its easier to just use normal docker commands

i found the second answer here to be the best option for docker-compose.

but since you only need it once just use the normal docker commands its easier, if you are planning on transitioning the entire guide into docker-compose 2 commands aren't much.

FarisZR avatar Oct 14 '20 17:10 FarisZR

@fareszr sorry for the late response! I plan to do an important reorganization of the documentation to simplify the self-hosting instructions and will integrate your PR content at this moment. Is this OK for you?

nguyenkims avatar Oct 20 '20 08:10 nguyenkims

@fareszr sorry for the late response! I plan to do an important reorganization of the documentation to simplify the self-hosting instructions and will integrate your PR content at this moment. Is this OK for you?

absolutely !

i would love to help!, i can help with setting up mkdocs and themes if you want to, i suggest using the docs.simplelogin.io domain as a cname and having all docs hosted on ghpages.

FarisZR avatar Oct 20 '20 12:10 FarisZR

@fareszr thanks a lot! Will definitely let you know when this refactoring starts!

nguyenkims avatar Oct 20 '20 12:10 nguyenkims

Hello! Are there any updates on this one? Are those docker-compose files still valid for use with master simple-login builds?

shalak avatar Feb 12 '22 02:02 shalak

Hello! Are there any updates on this one? Are those docker-compose files still valid for use with master simple-login builds?

my instance is still based on the compose file in this PR and its working fine, however there have been changes in the readme, and due to the repo being forced push, there are merge conflicts.

FarisZR avatar Feb 12 '22 16:02 FarisZR

Fixed all the merge conflicts, the PR is ready to be merged again.

FarisZR avatar Feb 27 '22 21:02 FarisZR

Hello!

Just wanted to set up SL and noticed there was no docker-compose guide. I use Docker Compose as a means to actually remember what I did and set up in the past; it is very convenient to keep configurations in a single place and once the container plus setup is no longer needed, it is very trivial to just nuke the entire setup.

Would love to see an "official" take on Docker Compose!

IngwiePhoenix avatar Jun 21 '22 03:06 IngwiePhoenix

Is there any update on this? inclusion of docker-compose instructions will greatly simplify the installation and replication.

akash07k avatar Jul 29 '22 09:07 akash07k