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/main.py", line 81, in main
File "compose/cli/main.py", line 202, in perform_command
File "compose/metrics/decorator.py", line 18, in wrapper
File "compose/cli/main.py", line 1188, in up
File "compose/cli/main.py", line 1184, in up
File "compose/project.py", line 713, in up
File "compose/parallel.py", line 108, in parallel_execute
File "compose/parallel.py", line 206, in producer
File "compose/project.py", line 699, in do
File "compose/service.py", line 600, in execute_convergence_plan
File "compose/service.py", line 522, in _execute_convergence_recreate
File "compose/parallel.py", line 108, in parallel_execute
File "compose/parallel.py", line 206, in producer
File "compose/service.py", line 515, in recreate
File "compose/service.py", line 634, in recreate_container
File "compose/service.py", line 335, in create_container
File "compose/service.py", line 940, in _get_container_create_options
File "compose/service.py", line 980, in _build_container_volume_options
File "compose/service.py", line 1589, in merge_volume_bindings
File "compose/service.py", 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: