Created
July 13, 2024 08:44
-
-
Save OSCUK/eff1a81d0b7c1ee591cf467e45ef4546 to your computer and use it in GitHub Desktop.
Flarum For Docker Using Portainer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
flarum: | |
image: mondedie/flarum:latest | |
container_name: flarum_core | |
environment: | |
- DEBUG=false | |
- FORUM_URL=http://flarum.osc.uk | |
- DB_HOST=mariadb | |
- DB_NAME=flarum | |
- DB_USER=flarum | |
- DB_PASS=dbpass | |
- DB_PREF=flarum_ | |
- DB_PORT=3306 | |
- FLARUM_ADMIN_USER=admin | |
- FLARUM_ADMIN_PASS=password | |
- FLARUM_ADMIN_MAIL=demo@osc.uk | |
- FLARUM_TITLE=OSC UK | |
volumes: | |
- /root/dt-applications/flarum/assets:/flarum/app/public/assets | |
- /root/dt-applications/flarum/extensions:/flarum/app/extensions | |
- /root/dt-applications/flarum/storage/logs:/flarum/app/storage/logs | |
- /root/dt-applications/flarum/nginx:/etc/nginx/flarum | |
ports: | |
- 8888:8888 | |
depends_on: | |
- mariadb | |
mariadb: | |
image: mariadb:10.5 | |
container_name: flarum_mariadb | |
environment: | |
- MYSQL_ROOT_PASSWORD=dbpass | |
- MYSQL_DATABASE=flarum | |
- MYSQL_USER=flarum | |
- MYSQL_PASSWORD=mysqlpass | |
volumes: | |
- /root/dt-applications/flarum/mysql:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment