1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/friendica/docker-compose.yml
2021-09-28 14:32:54 +08:00

30 lines
606 B
YAML

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