Comments (2)
Sounds great. Thanks for the reply :)
from docker.
Thanks for your suggestion. You could create a container image, based on this image and include an mysql server with standard configs in it.
Something like (just an example, not ready!)
FROM friendica/server:apache
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
mysql-server \
; \
rm -rf /var/lib/apt/lists/*; \
ENV MYSQL_HOST localhost
ENV MYSQL_USERNAME friendica
ENV MYSQL_PASSWORD s0up3rS3Cure
ENV MYSQL_DATABASE friendica
But there are some parts, which we have to consider:
- The official MySQL image has some more setup-scripts, which we shouldn't copy into this repository (so we need a friendica-focused setup script ..)
- The background cronjob for the daemon has to run at least as a separate process (There's already a "supervisor" container which enables a multi-process run here https://github.com/friendica/docker/tree/master/.examples/dockerfiles/cron/apache )
But I'm with you, I started creating such a "out-of-the-box" image.
Meanwhile, I hope someday Friendica gets a "SQLite" support, so we don't have to include a full-blown mysql-server ;-)
from docker.
Related Issues (20)
- logging HOT 2
- Cron job with k3s acting funny HOT 2
- Error: GNU Multiple Precision PHP module required but not installed. HOT 3
- E_WARNING: session_write_close() with Redis HOT 2
- How to check cron jobs? HOT 1
- db.env variables are incorrect HOT 2
- ImagickException: Unable to set the image format HOT 6
- Link in README.md is broken HOT 1
- Wrong sitename and description on Friendica Directory https://dir.friendica.social/ HOT 1
- Healthcheck HOT 3
- Can't turn off STARTTLS for msmtp
- Lots of CORS errors when using the insecure image HOT 4
- Help on running Friendica on Kubernetes HOT 2
- Issues with HTTPS HOT 9
- FRIENDICA_UPGRADE cannot be false on rc image HOT 2
- Reduce PHP error_reporting scope in container HOT 8
- Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php on line 444 HOT 1
- PHP Module IntlChar is missing HOT 8
- Improve documentation on attaching MySQL database HOT 1
- 2024.03-rc image is missing HOT 8
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 docker.