2018-05-22 13:48:49 +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:
|
2018-05-22 20:15:36 +02:00
|
|
|
image: friendica/server
|
2018-05-22 13:48:49 +02:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:80
|
|
|
|
volumes:
|
|
|
|
- friendica:/var/www/html
|
|
|
|
environment:
|
2018-05-26 18:19:57 +02:00
|
|
|
- AUTOINSTALL=true
|
2018-05-22 13:48:49 +02:00
|
|
|
- MYSQL_HOST=db
|
|
|
|
- MYSQL_PORT=3306
|
|
|
|
- MYSQL_USER=friendica
|
|
|
|
- MYSQL_PASSWORD=friendica
|
|
|
|
- MYSQL_DATABASE=friendica
|
|
|
|
- MAILNAME=root@friendica.local
|
2018-06-06 20:37:02 +02:00
|
|
|
- SITENAME=Friendica PWD Test Node
|
|
|
|
- VALIDATION=false
|
2018-05-22 13:48:49 +02:00
|
|
|
hostname: friendica.local
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
|
|
|
|
cron:
|
2018-05-22 20:15:36 +02:00
|
|
|
image: friendica/server
|
2018-05-22 13:48:49 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- friendica:/var/www/html
|
|
|
|
entrypoint: /cron.sh
|
|
|
|
environment:
|
|
|
|
- MYSQL_HOST=db
|
|
|
|
- MYSQL_PORT=3306
|
|
|
|
- MYSQL_USER=friendica
|
|
|
|
- MYSQL_PASSWORD=friendica
|
|
|
|
- MYSQL_DATABASE=friendica
|
|
|
|
- MAILNAME=root@friendica.local
|
2018-06-06 20:37:02 +02:00
|
|
|
- SITENAME=Friendica PWD Test Node
|
2018-05-22 13:48:49 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
friendica:
|