Skip to content

drumee/docker-hosted

Repository files navigation

Docker Compose File Template

Docker Compose File to run Drumee in a Container

Dependencies

  • nginx
  • mariadb
  • nodejs
  • bind9
  • graphicsmagick
  • ffmpeg
  • redis
  • libreoffice
  • postfix
  • opendkim

Prerequisite

For now, this setup required Debian family plateform

Hardware

  • RAM at least 8Go
  • CPU at leat 2 GHz
  • Enough space to host what you need

Recommandations

  • Drumee should be installed on a dedicated disks or partitions
  • MFS (/data) should be not installed on the same partition as server (/srv)
  • If you expect high rate of read/write operations, database base partition (/srv/db) should be installed on a high speed disk or partition.

Caution

  • The provided domain name can not be shared with existing or futur application
  • It is recommanded not to share DB server with any other application

Installation

Install Docker

You can follow instructions fron the offical documentation or run below commands

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Setup for Public Domain Name

This setup is required only if you need to make your server available from the whole Internet.

If you intent to try Drumee on a local installation, head to

Prerequisite

  • A maiden Internet domain name
  • Control Access to your DNS zone
  • Control Access to your GLU DNS
  • At least one Public IP addresses, IPV4 and/or IPV6
  • Docker Engine version 20 or higher

Prepare you IP addresses

This task depends on your Domain Name Provider. Replace example.org by your own domain name. If you don't have IP V6 address, just fill in IPV4 fields. The purpose of this task to bind your domain name to the Ip Address of your Drumee Server.

In th DNS zone, remove all existing DNS records. Then, create following records in your Domain Name Provider:

Domain Name Type Target
 example.org A your.ip.4.address
 example.org AAAA your.ip.6.address
 ns1.example.org A your.ip.4.address
 ns1.example.org AAAA your.ip.6.address
 ns2.example.org A your.ip.4.address
 ns2.example.org AAAA your.ip.6.address

Change the default Domain Name Server (DNS)

This section will replace your ISP DNS by the one that run on your own Synology NAS. To make this effective, open your ISP interface and change current Name Servers to ns1.example.org and ns2.example.org

Change your GLUE DNS

Open your ISP interface and add following entries:

  • ns1.example.org
  • ns2.example.org

Wait the change to take effects.

Check your DNS records

Open a Shell Terminal and run

nslookup example.org

If everything is OK, you should see response like below.

Server: 192.168.5.1 Address: 192.168.5.1#53

Non-authoritative answer: Name: example.org Address: your.ip.4.address Name: example.org Address: XX.XX.XX.XXX

Prepare Drumee Container

git clone https://github.com/drumee/docker-hosted
cd docker-hosted
cp template.yml drumee.yml
  • Use your favorite IDE to change values in the file drumee.yml accordingly to your setup.
  • Save the changes.
sudo docker compose -f drumee.yml up -d

You may need to stop some exissting service on your server, as their ports are conflicting with the ones required by Docker.

Monitoring Installation Progress

sudo docker logs --follow drumee

Once the installation completed, you will receive a link sent to the ADMIN_EMAIL. Click on the link and set the admin pass word. That's it !

Setup for Local Domain Name

Prepare Drumee Container

git clone https://github.com/drumee/docker-hosted
cd docker-hosted
./install.local.sh

About

Docker compose file for Drumee Installation

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages