Skip to content

Commit

Permalink
Update docs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Jul 31, 2023
1 parent 25fb8b2 commit ce9e388
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
19 changes: 19 additions & 0 deletions docs/reference/DockerImages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Docker images reference

## `gs64` base docker image

This container image contains the GemStone/S 64 bits runtime support but doesn't
provide an `extent0.dbf`. Users will need to map a volume against `/opt/gemstone/data/`
containing the relevant data files (extents and transaction logs).

## `gs64-rowan` docker image

This container image builds on top of the base image providing the `extent0.rowan.dbf`.
It's a useful target for a CI system.

## `gs64-rowan-loader` docker image

This container image builds on top of the rowan image installing also git.
In order to use Rowan for cloning and manipulating remote repositories, users
will need to map a volume against `/home/gemstone/.ssh/` containing the
relevant keys.
19 changes: 19 additions & 0 deletions examples/docker-compose.build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: "3"

services:
stone:
init: true
network_mode: host
build:
context: ../source
target: docker-gs64-rowan-loader
args:
GS_VERSION: 3.6.6
environment:
TZ: America/Argentina/Buenos_Aires
volumes:
- ./conf/:/opt/gemstone/conf/
- ./locks/:/opt/gemstone/locks/
- ./logs/:/opt/gemstone/logs/
- ./projects/:/opt/gemstone/projects/
- ~/.ssh/:/home/gemstone/.ssh/:ro
6 changes: 1 addition & 5 deletions examples/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ services:
stone:
init: true
network_mode: host
build:
context: ../source
target: docker-gs64-rowan-loader
args:
GS_VERSION: 3.6.6
image: ghcr.io/ba-st/gs64-rowan-loader:v3.6.6
environment:
TZ: America/Argentina/Buenos_Aires
volumes:
Expand Down

0 comments on commit ce9e388

Please sign in to comment.