2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-05-23 04:54:58 +02:00
docker/.examples/docker-compose/insecure/mariadb-cron/fpm-alpine/docker-compose.yml

62 lines
1.1 KiB
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
app:
image: friendica/server:fpm-alpine
restart: always
volumes:
- friendica:/var/www/html
environment:
- AUTOINSTALL=true
- MAILNAME=
- TZ=
- LANGUAGE=
- SMTP=
env_file:
- db.env
depends_on:
- db
hostname: friendica.local
cron:
image: friendica/server:fpm-alpine
restart: always
volumes:
- friendica:/var/www/html
entrypoint: /cron.sh
environment:
- MAILNAME=
- TZ=
- LANGUAGE=
- SMTP=
env_file:
- db.env
depends_on:
- db
- app
hostname: friendica.local
web:
image: nginx
restart: always
volumes:
- friendica:/var/www/html:ro
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- app
ports:
- "80:80"
volumes:
db:
friendica: