• Threads
  • Categories
  • Users
  • Documentation
  • GitHub
  • Discord
  • forum
  • group
  • search
  1. Threads
  2. News
chevron_left News

Misago Docker is now available for easy Misago setup and maintenance!

  • bookmark Pinned globally
  • forum 10 replies
  • last reply by rafalp Sept. 30, 2019
  • Last
  • link
    rafalp
    Project Lead 1402 posts
    Nov. 2, 2018, 1:03 a.m. Nov. 2, 2018, 1:03 a.m.
    link

    I am happy to announce that Misago Docker is now available, making it much easier and faster to setup Misago site!

    I've timed it: it took me 24 minutes to get new Digital Ocean droplet, point domain to it, and setup Misago with https, caching, 301 redirect from www to non-www and crontab. And most of that time was spent waiting for things to get downloaded and installed by setup tool.

    In addition to Misago itself, this setup provides logging, backup & restore facilities, optional integrations with Sentry, Mailgun or Mailjet, and wizards for configuration, so no settings.py editing is required.

    Setup guide has been updated accordingly and show how to use Misago Docker to setup site on Digital Ocean.

    devraces, luckrill, cundi and 3 other users like this.

    favorite 6

  • bookmark

    Thread has been pinned globally.

    • By rafalp on Nov. 2, 2018, 1:03 a.m..
  • link
    raeuz
    Members 14 posts
    Nov. 2, 2018, 2:01 a.m. Nov. 2, 2018, 2:01 a.m.
    link

    Good!

    raeuz and rafalp like this.

    favorite 2

  • link
    rafalp
    Project Lead 1402 posts
    Nov. 2, 2018, 2:04 a.m. Nov. 2, 2018, 2:04 a.m.
    link

    This release is first step on my work to make Misago more accessible and "mainstreamy". I have plenty of ideas how to make Misago more approachable and friendly to site administrators that would like to use it for their community, and I am optimistic that some of them will land before year ends.

  • link
    rafalp
    Project Lead 1402 posts
    Nov. 2, 2018, 9:39 p.m. Nov. 2, 2018, 9:39 p.m.
    link

    I've updated docs to show how to setup Misago site on Digital Ocean using Misago-Docker: misago.gitbook.io/docs/setup

  • link
    ClemsP
    Members 2 posts
    March 8, 2019, 1:29 p.m. March 8, 2019, 1:29 p.m.
    link

    Hi,

    Nice thing ! But it doesn't work for me. The image misagodocker_misago seems to be created (and migrations apply) but not running unless others images are running.

    Successfully built df264b5a3d30
    Successfully tagged misagodocker_misago:latest
    Starting misagodocker_postgres_1 ... 
    Starting misagodocker_postgres_1 ... done
    Starting misagodocker_redis_1 ... done
    Starting misagodocker_nginx-lets-encrypt_1 ... done
    

    docker ps :

    b32afa4ca4c0        postgres:10                              "docker-entrypoint.s…"   22 minutes ago      Up 3 minutes                    5432/tcp                           misagodocker_postgres_1
    07ab040b7869        jrcs/letsencrypt-nginx-proxy-companion   "/bin/bash /app/entr…"   36 minutes ago      Up 3 minutes                                                       misagodocker_nginx-lets-encrypt_1
    7f27873acc7b        d05844e00daf                             "/app/docker-entrypo…"   36 minutes ago      Restarting (0) 53 seconds ago                                      misagodocker_nginx-proxy_1
    55f2a553ee03        redis:5                                  "docker-entrypoint.s…"   43 minutes ago      Up 3 minutes                    6379/tcp                           misagodocker_redis_1
    

    Any idea what it does ?

  • link
    rafalp
    Project Lead 1402 posts
    March 8, 2019, 5:37 p.m. March 8, 2019, 5:37 p.m.
    link

    You are supposed to use docker-compose because Misago requires other services in order to work.

    Each of those services does other thing that Misago site requires to work:

    • misagodocker_postgres_1 is database that stores your site's data
    • misagodocker_redis_1 is redis database, it stores cache data
    • misagodocker_nginx-proxy_1 is nginx http server, makes site available from internet
    • misagodocker_nginx-lets-encrypt_1 enables https so data going to and from your site is encrypted
  • link
    ClemsP
    Members 2 posts
    March 8, 2019, 6:30 p.m. March 8, 2019, 6:30 p.m.
    link

    @rafalp thanks for your answer. I was thinking that the script lauching misago too.

    I've installed Misago for first time and that's a really great job you did.

    Best regards.

  • link
    rafalp
    Project Lead 1402 posts
    March 8, 2019, 6:47 p.m. March 8, 2019, 6:47 p.m.
    link

    Yes, if you use appctl, it will also make sure those services are running.

  • link
    rafalp
    Project Lead 1402 posts
    Sept. 29, 2019, 11:17 p.m. Sept. 29, 2019, 11:17 p.m.
    link

    misago-docker now includes support and documentation for overriding standard configuration of docker-compose, settings.py and urls.py.

    Please refer to project's readme for details and examples: Overriding configuration

  • link
    PeteBOS
    Members 11 posts
    Sept. 30, 2019, 5:20 p.m. Sept. 30, 2019, 5:20 p.m.
    link

    Excellent; ./dev installation worked like a charm. (I only know the very basics about Python and Django, and had only heard of Docker as a concept.)

  • link
    rafalp
    Project Lead 1402 posts
    Sept. 30, 2019, 5:27 p.m. Sept. 30, 2019, 5:27 p.m.
    link

    Just make sure you are using misago-docker to run production forums, dev setup doesn't care about optimization and proper data storage to make dev easier ;)

    rade98 likes this.

    favorite 1

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis.
  • Documentation
  • GitHub
  • Discord
  • Terms of service
  • Privacy policy
powered by misago