2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-11-14 01:23:41 +01:00
docker/stack.yml
Philipp Holzer 8493e35da4
Bugfixing & Upgrading
- upgrade version
- fixing alpine Dockerfile (openssl to libressl)
- adding examples for SSMTP
- README updates & bugfixing
- Removed shell-script "friendica"
- Removed old .htconfig
- Adding SMTP example
- Upgrading docker-compose files
- Added upgrade.exclude list
2018-10-04 23:22:47 +02:00

51 lines
1.1 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:
- MYSQL_HOST=db
- MYSQL_USER=friendica
- MYSQL_PASSWORD=friendica
- MYSQL_DATABASE=friendica
- FRIENDICA_ADMIN_MAIL=root@friendica.local
- SITENAME=Friendica PWD Test Node
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_USER=friendica
- MYSQL_PASSWORD=friendica
- MYSQL_DATABASE=friendica
- FRIENDICA_ADMIN_MAIL=root@friendica.local
- SITENAME=Friendica PWD Test Node
depends_on:
- db
volumes:
db:
friendica: