mirror of
https://github.com/friendica/docker
synced 2024-11-14 01:23:41 +01:00
841a0b438b
- Use APCu cache as default caching mechanism - Add explicit redis environment variables for redis lock-support - Add a lot of environment variables, which aren't part of admin-page - Add possibility to disable URL & E-Mail validation (for demo-page) - Dynamically copy /config/ content without overwriting existing one Add opcache support for performance reason Add multi-core support for php extensions install Bump redis version to 5.0.1 (last stable) Exclude /log/ directory during sync (to avoid deleting logs)
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
version: '3.2'
|
|
|
|
services:
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_USER=friendica
|
|
- MYSQL_PASSWORD=friendica
|
|
- MYSQL_DATABASE=friendica
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
|
|
|
app:
|
|
image: friendica/server
|
|
restart: always
|
|
ports:
|
|
- 8080:80
|
|
volumes:
|
|
- friendica:/var/www/html
|
|
environment:
|
|
- MYSQL_HOST=db
|
|
- MYSQL_USER=friendica
|
|
- MYSQL_PASSWORD=friendica
|
|
- MYSQL_DATABASE=friendica
|
|
- FRIENDICA_ADMIN_MAIL=root@friendica.local
|
|
- SITENAME=Friendica PWD Test Node
|
|
- FRIENDICA_NO_VALIDATION=true
|
|
hostname: friendica.local
|
|
depends_on:
|
|
- db
|
|
|
|
cron:
|
|
image: friendica/server
|
|
restart: always
|
|
volumes:
|
|
- friendica:/var/www/html
|
|
entrypoint: /cron.sh
|
|
environment:
|
|
- MYSQL_HOST=db
|
|
- MYSQL_USER=friendica
|
|
- MYSQL_PASSWORD=friendica
|
|
- MYSQL_DATABASE=friendica
|
|
- FRIENDICA_ADMIN_MAIL=root@friendica.local
|
|
- SITENAME=Friendica PWD Test Node
|
|
depends_on:
|
|
- db
|
|
|
|
volumes:
|
|
db:
|
|
friendica: |