Skip to content

Add ted backend [do not merge!]#327

Draft
bloodearnest wants to merge 13 commits intomainfrom
add-ted-backend
Draft

Add ted backend [do not merge!]#327
bloodearnest wants to merge 13 commits intomainfrom
add-ted-backend

Conversation

@bloodearnest
Copy link
Copy Markdown
Member

The add-ted-backend branch is effectively a fork of backend-server that adds a new TED backend configuration, which is very similar to TPP.

This Draft PR is meant to serve as a useful way to see what changes were needed, but is not intended to be merged. There are some commits that fixed or improved things that might be worth merging separately, perhaps.

However, there are some commits that can't really be merged in their current form. Mainly the hosts changes.

This could be a fork, perhaps, instead, in future.

inglesp and others added 12 commits April 14, 2026 10:19
This matches the test backend.
These are required to allow OS users to set their passwords.

I wasn't sure whether they belong in packages.txt or core-packages.txt.
Moves all the configurable endpoints to other domains. The collector
address was not configurable, so made it configurable via env var. These
are write endpoints, so they should be writing to a separate system.

Have also moved the proxy domains over, to basically be no proxy, to get
them off the opensafely domains. We can add a ted-only proxy later.

docker-proxy.opensafely.org was is a little tricky. We can change it for
action images via DOCKER_PROXY, but we also use it for the airlock and
agent images, which is hard coded in docker-compose.yaml, so I just
changed the hardcoded values.

Have updated the local DNS for these domains, and pointed it at
localhost for now.
Testing with a test controller, these values worked.

Most are just config overrides, however because the TED backend is
completely separate from OS, some core changes were needed

Specifically, DNS entries/hostnames, and DNS in the agent.

Note that these values are what works with the test controller, will
need change once we have proper controller
We previously used ed25519, but that is not supported in windows. It was
not good default, in hindsight.

And in the TED backend, we are using a self signed certificate generated
by this code as our initial production cert, so this is needed.
 - remove out of date comments
 - use proxy to get app images now its deployed
 - don't install collector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants