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
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:
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
Content type
Image
Digest
sha256:f53bd6487…
Size
172.7 MB
Last updated
8 months ago
docker pull javarubus/rubus