mirror of
https://github.com/friendica/docker
synced 2025-01-08 15:31:45 +01:00
50 lines
No EOL
774 B
YAML
50 lines
No EOL
774 B
YAML
version: '2.1'
|
|
services:
|
|
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
volumes:
|
|
- db:/var/lib/mysql/
|
|
environment:
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
|
env_file:
|
|
- db.env
|
|
|
|
redis:
|
|
image: redis
|
|
restart: always
|
|
|
|
app:
|
|
build: ./app
|
|
restart: always
|
|
volumes:
|
|
- friendica:/var/www/html
|
|
environment:
|
|
- FRIENDICA_ADMIN_MAIL=
|
|
- FRIENDICA_TZ=
|
|
- FRIENDICA_LANG=
|
|
- FRIENDICA_URL=
|
|
- FRIENDICA_SITENAME=
|
|
- SMTP=
|
|
env_file:
|
|
- db.env
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- "80:80"
|
|
|
|
cron:
|
|
build: ./app
|
|
restart: always
|
|
volumes:
|
|
- friendica:/var/www/html
|
|
entrypoint: /cron.sh
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- db.env
|
|
|
|
volumes:
|
|
db:
|
|
friendica: |