Skip to content

waschinski/vanilla-forums-docker-container

 
 

Repository files navigation

Vanilla Forums (Open Source) Docker

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/



Table of contents

  1. Overview
  2. Deployment with Local MySQL Container
  3. Deployment with Local MySQL Container



Deploy Vanilla Forum with Local MySQL Container

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.

Start Services

docker-compose up -d --build
(Note: -d flag will run the services in background)

Stop Services

docker-compose down

Check logs

docker-compose logs -f vanilla-forums

Check container state

docker-compose ps



Deployment with External MySQL Services

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.

Start Services

docker-compose -f docker-compose.prod.yml up -d --build
-d flag will run the services in background

Stop Services

docker-compose -f docker-compose.prod.yml down

Check logs

docker-compose -f docker-compose.prod.yml logs -f vanilla-forums

Check container state

docker-compose -f docker-compose.prod.yml ps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 51.8%
  • Shell 48.2%