Sign inSign up

javarubus/rubus

By javarubus

Updated 8 months ago

Image
0

487

javarubus/rubus repository overview

Rubus Server installation guide

  • Install Docker Compose on your machine
  • Create a file named compose.yaml with the following content:
services:
  postgresql:
    image: javarubus/db
    volumes:
      - type: bind
        source: <persistence_directory>
        target: /var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: rubus
  rubus:
    image: javarubus/rubus
    volumes:
      - type: bind
        source: <working_directory>
        target: /var/opt/rubus
      - type: bind
        source: <media_directory>
        target: /var/lib/rubus
    environment:
      DB_USER: postgres
      DB_PASSWORD: postgres
    ports:
      - 54300:54300
    depends_on:
      - postgresql
  • Replace the placeholders with the appropriate values

    • <persistence_directory> is the directory where the database content is stored
    • <working_directory> is the Rubus working directory
    • <media_directory> is the directory to store media locally
  • Open a terminal under the same directory where you created compose.yaml and type in:

    docker compose up -d


If the configuration file isn't present at the working directory, a default one is created. Changing the default database configuration values ( user, password, database name, host name, port ), Rubus Server configuration values ( hostname, port ) in the compose.yaml requires changing the configuration file as well.

The Rubus Server container features the following environment variables:

  • DB_USER ( required ) the database username
  • DB_PASSWORD ( required ) the database password
  • JVM_OPTIONS ( optional ) the JVM options using the same syntax as when typing java [options] ...

For customization of the database container refer to https://hub.docker.com/_/postgres.


The source code is available at https://github.com/796176/Rubus

Tag summary

Content type

Image

Digest

sha256:f53bd6487

Size

172.7 MB

Last updated

8 months ago

docker pull javarubus/rubus