Hi,
Please, can someone help me out with my Flarum setup? I have a Digital Ocean cloud instance using Ubuntu with Apache2 and I was trying to setup the docker version of Flarum at this server. I don't know why but all that I got is **503 Service Unavailable Error **.
my docker-compose.yml
version: "3"
services:
flarum:
image: mondedie/docker-flarum:0.1.0-beta.10-stable
container_name: flarum
env_file:
- /var/www/html/forum.codeclubbrasil.org.br/flarum.env
volumes:
- /var/www/html/forum.codeclubbrasil.org.br/assets:/flarum/app/public/assets
- /var/www/html/forum.codeclubbrasil.org.br/extensions:/flarum/app/extensions
- /var/www/html/forum.codeclubbrasil.org.br/nginx:/etc/nginx/conf.d
depends_on:
- mariadb
mariadb:
image: mariadb:10.4
container_name: mariadb
environment:
- MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxxx
- MYSQL_DATABASE=flarum
- MYSQL_USER=flarum
- MYSQL_PASSWORD=xxxxxxxxxxxxxxxx
volumes:
- /mnt/docker/mysql/db:/var/lib/mysql
my flarum.env
DEBUG=true
FORUM_URL=http://forum.codeclubbrasil.org.br
DB_HOST=mariadb
DB_NAME=flarum
DB_USER=flarum
DB_PASS=xxxxxxxxxxxxxxxxx
DB_PREF=flarum_
DB_PORT=3306
FLARUM_ADMIN_USER=admin
FLARUM_ADMIN_PASS=xxxxxxxxxxxxxx
FLARUM_ADMIN_MAIL=contato@codeclubbrasil.org.br
FLARUM_TITLE=Code Club Brasil
my apache conf file
<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerAdmin webmaster@codeclubbrasil.org.br
ServerName forum.codeclubbrasil.org.br
ServerAlias forum.codeclubbrasil.org.br
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8888/
ProxyPassReverse / http://127.0.0.1:8888/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
What do I miss?
Thank you