Vanilla Forum is a open source community forum software. This repository contains the contents which allows you to deploy the containers required to run the Vanilla Forum's frontend web application which is recommended for PROD.This repo also has the content to deploy the backend which is a MySQL database container which is recommended for localhost setup, which is best suited for DEV and TESTING.
To learn more about Vanilla Forum please goto: https://vanillaforums.com/en/software/
RECOMMEDED FOR LOCALHOST SETUP. BEST SUITED FOR DEVELOPMENT & TESTING.
These sets of instructions are used for running TWO containers.
- 1st Container - Vanilla Forum (Frontend)
- 2nd Container - MySQL container (Backend).
To change the default MySQL credentials, modify the .env
file. You will need these credentials at installation time.
docker-compose up -d --build
(Note: -d
flag will run the services in background)
docker-compose down
docker-compose logs -f vanilla-forums
docker-compose ps
RECOMMENDED FOR PRODUCTION SETUP IN A CLOUD ENVIRONMENT.
If you have MySQL deployed in cloud or on some remote instance, use this option. The below instructions only spins up a single container.
- Single Container - Vanilla Forum (Frontend) only
NOTE: Vanilla Forum setup requires a MySQL or similar database for complete installation/setup.
docker-compose -f docker-compose.prod.yml up -d --build
-d
flag will run the services in background
docker-compose -f docker-compose.prod.yml down
docker-compose -f docker-compose.prod.yml logs -f vanilla-forums
docker-compose -f docker-compose.prod.yml ps