This is the docker script in question ( https://github.com/IBM/domino-docker )
In the docker_prestart.sh, it seemed that the following variables are passed via SetupProfile.pds
$AdminIDFile : Presumably this is the folder where existing admin id is located ?
$OrgUnitIDFile :Is this the folder where existing /OU id (if any is used) is located ?
$OrganizationIDFile : Is this the folder where existing /O id is located ?
$OtherDirectoryServerName : The name of the server you wish to pull names.nsf etc from ?
$OtherDirectoryServerAddress : IP Address / FQDN of the server you wish to pull names.nsf from ?
$ServerIDFile: Is this the folder where existing server id is located ?
$SystemDatabasePath: The folder where a copy of names.nsf etc is located ?
However, even if we add these into env file, they are currently ignored.
Since as admin we often re-install / move / upgrade existing server, having those variables present would greatly save our time. Right now the only solution would be to replace those files on /local/dominodata after docker container is created and run the first time.
Tinus Riyanto - Prisma Global Solusi
Further documentation here : https://github.com/IBM/domino-docker/blob/master/docs/run-variables.md
and here: https://github.com/IBM/domino-docker/blob/master/docs/configjson.md
Also frist server setup should work with existing IDs. Second server setup also works. I have a configuraiton, we could add to the project.
Just tested it last week. The code we are leveraging is the standard Domino setup functionality. Thomas built functionaltiy that writes all the parameters to the pds file where the setup routine picks it up.
All exposed parameters are configurable via environment settings.
Just the setup is picky about some settings. For example even you have server.id you need to specify the name of the server.
I have a yaml file prepared for a 2nd server.
Note, you can get id files and passwords from files or from remote locations.
This gets the server.id from a trusted host in my environment.
[ Daniel Nashed / http://blog.nashcom.de ]
This is a small config that works with docker-compos up -d
version: '3'
services:
domino:
image: "hclcom/domino:latest"
container_name: domino_pluto
network_mode: host
ports:
- 80:80
- 1352:1352
volumes:
- domino_2nd_local:/local
environment:
isFirstServer: "false"
ServerName: mars
ServerIDFile: http://192.168.96.170/software/mars.id
OtherDirectoryServerName: pluto/NotesLab
OtherDirectoryServerAddress: pluto.notes.lab
volumes:
domino_2nd_local:
Second Server setup is possible, need to provide better documentation on how to do that.