mirror of
https://github.com/friendica/docker
synced 2024-11-11 10:41:34 +01:00
Philipp Holzer
fec33c98be
- changed sendmail to ssmtp support - deleted smtp-examples (not necessary anymore) - added vendor libraries in stable-docker images ("full" package) - changed stack.yml to new SMTP behavior
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
version: '3.2'
|
|
|
|
services:
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_USER=friendica
|
|
- MYSQL_PASSWORD=friendica
|
|
- MYSQL_DATABASE=friendica
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
|
|
|
app:
|
|
image: friendica/server
|
|
restart: always
|
|
ports:
|
|
- 8080:80
|
|
volumes:
|
|
- friendica:/var/www/html
|
|
environment:
|
|
- AUTOINSTALL=true
|
|
- MYSQL_HOST=db
|
|
- MYSQL_PORT=3306
|
|
- MYSQL_USER=friendica
|
|
- MYSQL_PASSWORD=friendica
|
|
- MYSQL_DATABASE=friendica
|
|
- MAILNAME=root@friendica.local
|
|
- SITENAME=Friendica PWD Test Node
|
|
- VALIDATION=false
|
|
hostname: friendica.local
|
|
depends_on:
|
|
- db
|
|
|
|
cron:
|
|
image: friendica/server
|
|
restart: always
|
|
volumes:
|
|
- friendica:/var/www/html
|
|
entrypoint: /cron.sh
|
|
environment:
|
|
- MYSQL_HOST=db
|
|
- MYSQL_PORT=3306
|
|
- MYSQL_USER=friendica
|
|
- MYSQL_PASSWORD=friendica
|
|
- MYSQL_DATABASE=friendica
|
|
- MAILNAME=root@friendica.local
|
|
- SITENAME=Friendica PWD Test Node
|
|
depends_on:
|
|
- db
|
|
|
|
volumes:
|
|
db:
|
|
friendica: |