Skip to content
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

Containerise small services on Ridley #1028

Open
4 of 13 tasks
grischard opened this issue Feb 5, 2024 · 3 comments
Open
4 of 13 tasks

Containerise small services on Ridley #1028

grischard opened this issue Feb 5, 2024 · 3 comments
Assignees

Comments

@grischard
Copy link
Collaborator

grischard commented Feb 5, 2024

Left to containerise on Ridley:

Wordpress

  • 2007.stateofthemap.org
  • 2008.stateofthemap.org
  • 2009.stateofthemap.org
  • 2010.stateofthemap.org
  • 2011.stateofthemap.org
  • 2012.stateofthemap.org
  • blog.openstreetmap.org

Mediawiki

  • board.osmfoundation.org
  • dwg.osmfoundation.org
  • mwg.osmfoundation.org
  • osmfoundation.org

Wordpress with civicrm

  • supporting.openstreetmap.org

Perl

@grischard
Copy link
Collaborator Author

Discussed this with Grant today. For wordpress, he's working to an immutable container (with all plugins / themes baked in). Runtime cannot be changed and runs effectively underprivileged user.

Compared to letting chef handle the wordpress container and the themes/plugins, this makes CI testing and running staging/dev versions easier, at the cost of significant development time. Grant and I have agreed that if the immutable container route wasn't in production by our Monday meeting, we'd go the 'quick' chef route.

@Firefishy
Copy link
Member

The initial cut of the immutable wordpress container is available here: https://github.com/openstreetmap/wordpress-container

  • Container has additional PHP extensions and dependencies baked in as required by plugins.
  • Container runs underprivileged (eg: cannot modify any wordpress files).
  • Container bundles all plugins and themes (baked-in).
  • On start-up DB migrations are run and all plugins are activated (needs DB access).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants