mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
30 lines
606 B
YAML
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
|