thunderbird / addons-server

🕶 addons.thunderbird.net Django app and API, forked from addons.mozilla.org 🎉
https://addons.thunderbird.net
BSD 3-Clause "New" or "Revised" License
18 stars 17 forks source link

New docker file #226

Closed MelissaAutumn closed 7 months ago

MelissaAutumn commented 1 year ago

Wow, another dockerfile attempt.

Not trying to emulate staging/prod on this attempt, just trying to a working environment that works consistently on linux and mac. Still using docker-compose because Celery, and web's supervisor scripts use the same port. ElasticSearch needs to be emulated on mac, since there's no arm builds for 5, and I split services off from web, so I didn't have to write two entry scripts. (And then proceeded to write two entry scripts.)

Also went with Debian 11 for better compatability with arm, and just build the two projects that aren't available in Debian 11.

There's also some relatively non-instrusive site fixes from https://github.com/thundernest/addons-server/pull/206 that are needed to get local development going.

MelissaAutumn commented 7 months ago

I'm closing this in favour of eventually integrating: https://github.com/MelissaAutumn/atn-docker