Major changes to support cli-end-to-end demonstration. See full log
* notes/cli-end-to-end-demo.org (Database Aquisition): Starting description for the end-to-end demonstration workflow. Very simplified version of notes/cli-end-to-end.org * docker-compose-demo.yml (services): Make the pre-populated ql database storage an explicit container to get persistent data and straightforward mount semantics. * docker-compose-demo-build.yml (services): Add a docker-compose configuration for *building* the demo environment. * demo/containers/dbsdata/Dockerfile: Add dbsdata Docker image to hold initialized minio database file tree * client/containers/vscode/README.org Update vscode container to use custom plugin for later mrva redirection
This commit is contained in:
committed by
=Michael Hohn
parent
187c49688e
commit
77ce997fbb
@@ -1,12 +1,16 @@
|
||||
services:
|
||||
mrvadata:
|
||||
image: ghcr.io/hohn/mrvadata:0.1.24
|
||||
container_name: mrvadata
|
||||
dbssvc:
|
||||
# dbsdata-container:0.1.24
|
||||
image: ghcr.io/hohn/dbsdata-container:0.1.24
|
||||
command: tail -f /dev/null # Keep the container running
|
||||
# volumes:
|
||||
# - /qldb # Directory inside the container that contains the data
|
||||
volumes:
|
||||
- mrvadata:/data/mrvacommander/dbstore-data
|
||||
- dbsdata:/data
|
||||
container_name: dbssvc
|
||||
networks:
|
||||
- backend
|
||||
|
||||
|
||||
dbstore:
|
||||
image: minio/minio:RELEASE.2024-06-11T03-13-30Z
|
||||
container_name: dbstore
|
||||
@@ -18,23 +22,14 @@ services:
|
||||
required: true
|
||||
command: server /data/mrvacommander/dbstore-data --console-address ":9001"
|
||||
depends_on:
|
||||
- mrvadata
|
||||
# The mrvadata volume has content of ./dbstore-data, so the volume mount
|
||||
# below is equivalent of this original:
|
||||
# volumes:
|
||||
# - ./dbstore-data:/data
|
||||
- dbssvc
|
||||
# volumes_from:
|
||||
# - dbsdata # Use the volumes from dbsdata container
|
||||
volumes:
|
||||
- mrvadata:/data
|
||||
- dbsdata:/data/mrvacommander/dbstore-data
|
||||
networks:
|
||||
- backend
|
||||
|
||||
client-qldbtools:
|
||||
image: ghcr.io/hohn/client-qldbtools-container:0.1.24
|
||||
# XX: Copy client/qldbtools/scratch into this container
|
||||
networks:
|
||||
- backend
|
||||
|
||||
|
||||
client-ghmrva:
|
||||
image: ghcr.io/hohn/client-ghmrva-container:0.1.24
|
||||
network_mode: "service:server" # Share the 'server' network namespace
|
||||
@@ -118,4 +113,4 @@ networks:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
mrvadata:
|
||||
dbsdata:
|
||||
|
||||
Reference in New Issue
Block a user