Comments (5)
@amrav The peqp/
folder resides inside /srv/mediawiki
in the nginx container. So, we need to put that file into the archive that is prepared here. If my understanding is correct, I can go ahead and try to solve this.
from metakgp-wiki.
I've been thinking that the best way to add static assets (images, peqp) to the wiki server is to put them into a separate "static assets" volume, and serve them out of a different path (eg. /srv/static
). This has the advantage of making the mediawiki
volume completely ephemeral - right now, we lose images and peqp every time we redeploy. Then the backup container could do backups from the static assets volume.
This would require some changes to the nginx container though, to add configuration for serving the static assets. What do you think?
from metakgp-wiki.
I understand this a bit more now. I will read through the existing code and documentation and try to figure out how we would do this. For now, I think there should be a volume called "static" which will be accesible at /srv/static inside the nginx container (defined in the docker-compose.override.yml file)
This is only preliminary and probably incorrect, I will post something for you to review soon.
from metakgp-wiki.
#27 puts peqp in the static volume, this issue has become a lot easier. I am changing the tags to let newcomers know that this is a good issue to begin with.
It involves changing the backup script to include the /srv/static/peqp
folder (if it exists) inside the backup archive.
Also, the prod
configuration needs to be edited to allow the static-volume
to be mounted at /srv/static
inside the backup container as well.
from metakgp-wiki.
Closing this since peqp will no longer be part of the wiki.
from metakgp-wiki.
Related Issues (20)
- Static file links HOT 2
- Dependency Dashboard
- MetaWiki v2
- Use HitCounters Extension For Trending Pages HOT 1
- Find a New Way to Update Popular and Trending Pages HOT 20
- Restore Images in Restore Script HOT 2
- Run Backups in the `jobs` Container HOT 4
- Automatic Deployment? HOT 2
- Set Up CI
- Update Documentation HOT 1
- Update DNS Denylist
- Install pywikibot from a better source
- Migrate to Database of Babel HOT 2
- [BUG] Update top trending job is failing HOT 1
- Use a newer version of Node.js for the Parsoid container
- Use Python 3 for the backup container
- Replace the extension RecentChanges with SimpleChanges HOT 1
- Investigate and fix problems with ArticleFeedbackV5
- Investigate if Scribunto configuration lines are required anymore
- Unable to submit suggestion for improvement at he bottom of an article HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metakgp-wiki.