From c3795ba178c039c616c082c7db455d917c4726be Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 28 Sep 2021 14:32:54 +0800 Subject: [PATCH] add friendica --- README.md | 1 + friendica/README.md | 8 ++++++++ friendica/docker-compose.yml | 29 +++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 friendica/README.md create mode 100644 friendica/docker-compose.yml diff --git a/README.md b/README.md index 4b2a4be..54b624e 100644 --- a/README.md +++ b/README.md @@ -319,6 +319,7 @@ A collection of delicious docker recipes. - [x] audreyt/ethercalc - [x] flogo/flogo-docker - [x] mher/flower +- [x] friendica - [x] ghost - [x] gitlab/gitlab-ce - [x] atlassianlabs/gostatsd diff --git a/friendica/README.md b/friendica/README.md new file mode 100644 index 0000000..25806ab --- /dev/null +++ b/friendica/README.md @@ -0,0 +1,8 @@ +friendica +========= + +[Friendica][1] is a free and open-source software distributed social network. It +forms one part of the Fediverse, an interconnected and decentralized network of +independently operated servers. + +[1]: https://friendi.ca/ diff --git a/friendica/docker-compose.yml b/friendica/docker-compose.yml new file mode 100644 index 0000000..c7dc9fc --- /dev/null +++ b/friendica/docker-compose.yml @@ -0,0 +1,29 @@ +version: '3.8' + +services: + + friendica: + image: friendica + volumes: + - ./data/friendica:/var/www/html + ports: + - "8080:80" + environment: + - MYSQL_HOST=mysql + - MYSQL_DATABASE=friendica + - MYSQL_USER=friendica + - MYSQL_PASSWORD=friendica + - FRIENDICA_ADMIN_MAIL=username@gmail.com + depends_on: + - mysql + restart: unless-stopped + + mysql: + image: mariadb + volumes: + - ./data/mysql:/var/lib/mysql + environment: + - MYSQL_DATABASE=friendica + - MYSQL_USER=friendica + - MYSQL_PASSWORD=friendica + restart: unless-stopped