-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34bb363
commit 2f5e020
Showing
14 changed files
with
57 additions
and
65 deletions.
There are no files selected for viewing
10 changes: 8 additions & 2 deletions
10
.examples/docker-compose/insecure/mariadb-cron-redis/apache/app/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
FROM friendica:apache | ||
|
||
RUN mkdir -p /usr/src/config | ||
COPY addon.config.php /usr/src/config/ | ||
ENV PHP_MEMORY_LIMIT 512M | ||
ENV PHP_UPLOAD_LIMIT 512M | ||
RUN set -ex; \ | ||
{ \ | ||
echo "memory_limit=${PHP_MEMORY_LIMIT}"; \ | ||
echo "upload_max_filesize=${PHP_UPLOAD_LIMIT}"; \ | ||
echo "post_max_size=${PHP_UPLOAD_LIMIT}"; \ | ||
} > /usr/local/etc/php/conf.d/friendica.ini; |
12 changes: 0 additions & 12 deletions
12
.examples/docker-compose/insecure/mariadb-cron-redis/apache/app/addon.config.php
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
.examples/docker-compose/insecure/mariadb-cron-redis/apache/db.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
MYSQL_PASSWORD= | ||
MYSQL_PASSWORD=test | ||
MYSQL_DATABASE=friendica | ||
MYSQL_USER=friendica | ||
MYSQL_HOST=db | ||
MYSQL_PORT=3306 | ||
MYSQL_PORT=3306 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,17 +16,18 @@ services: | |
restart: always | ||
|
||
app: | ||
build: ./app | ||
image: friendica:apache | ||
restart: always | ||
volumes: | ||
- friendica:/var/www/html | ||
environment: | ||
- FRIENDICA_ADMIN_MAIL= | ||
- FRIENDICA_TZ= | ||
- FRIENDICA_LANG= | ||
- FRIENDICA_URL= | ||
- FRIENDICA_SITENAME= | ||
- SMTP= | ||
- [email protected] | ||
- FRIENDICA_TZ=Europe/Vienna | ||
- FRIENDICA_LANG=de | ||
- FRIENDICA_URL=https://friendica.local | ||
- FRIENDICA_SITENAME=Friendica | ||
- SMTP=mail | ||
- PHP_MEMORY_LIMIT=1024M | ||
env_file: | ||
- db.env | ||
depends_on: | ||
|
@@ -35,16 +36,23 @@ services: | |
- "80:80" | ||
|
||
cron: | ||
build: ./app | ||
image: friendica:apache | ||
restart: always | ||
volumes: | ||
- friendica:/var/www/html | ||
entrypoint: /cron.sh | ||
environment: | ||
- [email protected] | ||
- FRIENDICA_TZ=Europe/Vienna | ||
- FRIENDICA_LANG=de | ||
- FRIENDICA_URL=https://friendica.local | ||
- FRIENDICA_SITENAME=Friendica | ||
- SMTP=mail | ||
depends_on: | ||
- db | ||
env_file: | ||
- db.env | ||
|
||
volumes: | ||
db: | ||
friendica: | ||
friendica: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters