2018-09-09 22:22:24 +02:00
|
|
|
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:
|
2020-01-11 20:29:01 +01:00
|
|
|
image: friendica:apache
|
2018-09-09 22:22:24 +02:00
|
|
|
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
|
2019-07-19 21:06:40 +02:00
|
|
|
- FRIENDICA_NO_VALIDATION=true
|
2018-09-09 22:22:24 +02:00
|
|
|
hostname: friendica.local
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
|
|
|
|
cron:
|
2020-01-11 20:29:01 +01:00
|
|
|
image: friendica:apache
|
2018-09-09 22:22:24 +02:00
|
|
|
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:
|
2020-01-11 20:29:01 +01:00
|
|
|
friendica:
|