2023-08-05 17:42:27 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
flarum:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
MYSQL_DATABASE: flarum
|
|
|
|
MYSQL_USER: flarum
|
|
|
|
MYSQL_PASSWORD: flarum
|
|
|
|
MYSQL_HOST: mysql
|
|
|
|
SITE_URL: http://192.168.88.51:8000
|
2023-08-05 17:50:05 +00:00
|
|
|
ADMIN_USER: admin
|
|
|
|
ADMIN_PASSWORD: password
|
|
|
|
ADMIN_EMAIL: admin@example.com
|
2023-08-05 17:42:27 +00:00
|
|
|
MAIL_DRIVER: smtp
|
2023-08-05 17:50:05 +00:00
|
|
|
MAIL_HOST: mail.example.com
|
2023-08-05 17:42:27 +00:00
|
|
|
MAIL_PORT: 465
|
|
|
|
MAIL_ENCRYPTION: ssl
|
2023-08-05 17:50:05 +00:00
|
|
|
MAIL_USERNAME: admin@example.com
|
2023-08-05 17:42:27 +00:00
|
|
|
MAIL_PASSWORD: secret
|
|
|
|
ports:
|
|
|
|
- "8000:80"
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
mysql:
|
|
|
|
image: mysql
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: password
|
|
|
|
MYSQL_DATABASE: flarum
|
|
|
|
MYSQL_USER: flarum
|
|
|
|
MYSQL_PASSWORD: flarum
|