Adding Google SSO to self-hosted

I'm trying to configure google SSO for our self-hosted instance but having issues.

I've created the web application google api and added the URIs from this documentation for my domain.

When I add
CLIENT_ID={google client ID}
CLIENT_SECRET={google client secret}
to the docker.env file and run
$ sudo docker-compose up -d
i get the following

Recreating 1cdbb12e40eb_retool-onpremise-master_code-executor_1 ...
Recreating 2217c7061ec5_retool-onpremise-master_workflows-worker_1 ...
retool-onpremise-master_retooldb-postgres_1 is up-to-date
Recreating f40adf419f4c_retool-onpremise-master_postgres_1 ...

ERROR: for f40adf419f4c_retool-onpremise-master_postgres_1 'ContainerConfig'

ERROR: for 1cdbb12e40eb_retool-onpremise-master_code-executor_1 'ContainerConfig'

ERROR: for 2217c7061ec5_retool-onpremise-master_workflows-worker_1 'ContainerConfig'

ERROR: for postgres 'ContainerConfig'

ERROR: for code-executor 'ContainerConfig'

ERROR: for workflows-worker 'ContainerConfig'
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/", line 81, in main
File "compose/cli/", line 202, in perform_command
File "compose/metrics/", line 18, in wrapper
File "compose/cli/", line 1188, in up
File "compose/cli/", line 1184, in up
File "compose/", line 713, in up
File "compose/", line 108, in parallel_execute
File "compose/", line 206, in producer
File "compose/", line 699, in do
File "compose/", line 600, in execute_convergence_plan
File "compose/", line 522, in _execute_convergence_recreate
File "compose/", line 108, in parallel_execute
File "compose/", line 206, in producer
File "compose/", line 515, in recreate
File "compose/", line 634, in recreate_container
File "compose/", line 335, in create_container
File "compose/", line 940, in _get_container_create_options
File "compose/", line 980, in _build_container_volume_options
File "compose/", line 1589, in merge_volume_bindings
File "compose/", line 1619, in get_container_data_volumes
KeyError: 'ContainerConfig'
[19684] Failed to execute script docker-compose

My docker.env file was correct as is; I fixed this by installing docker-compose-v2 sudo apt-get install docker-compose-v2 and rebuilding the containers using sudo docker compose up -d.

1 Like

Hi @matthewej, thank you for sharing your solution!
Happy to hear your instance is up and running. :slightly_smiling_face: