at_server icon indicating copy to clipboard operation
at_server copied to clipboard

feat: dynamicvirtualenv image

Open xavierchanth opened this issue 11 months ago • 3 comments

- What I did

Why: I need hundreds of atServers that can be setup portably for a demo.

Created a version of virtualenv called dynamicvirtualenv that allows you to mount a config file for the atServers.

The file needs to be mounted at /mnt/setup/atservers. example file format:

@alice 25000 <cramkey>
@bob   25001 <cramkey>

The other main difference to this image is that I've removed the pkamLoad service and the install_PKAM_keys binary since that depends on demo data. All of the pkam keys must be manually setup, but can be easily automated in a simple script (which I plan to develop as part of my demo first).

- How I did it

- How to verify it

- Description for the changelog feat: dynamicvirtualenv image

xavierchanth avatar Feb 12 '25 19:02 xavierchanth

Other than the removed files that are specific to the demo data, if there isn't a comment on the file changes tab, then I've not changed anything (it's a direct copy of the original ve). The only exception is an update to some comments in the Dockerfiles in https://github.com/atsign-foundation/at_server/pull/2218/commits/ea51a93a5d21efd1feacf6c832b46e4908a5e594

Edit to this comment, see: https://github.com/atsign-foundation/at_server/pull/2218#issuecomment-2654990539

xavierchanth avatar Feb 12 '25 19:02 xavierchanth

Setting to draft, needs more work

xavierchanth avatar Feb 12 '25 21:02 xavierchanth

More changes introduced 97c8e62

To fix the lifecycle of setting up the atServers, which can no longer be done during build time, but must be done before starting supervisord.

xavierchanth avatar Feb 12 '25 22:02 xavierchanth